Answer the question
In order to leave comments, you need to log in
How to fix error: Argument of type 'float *' is incompatible with argument of type 'GLfloat'?
Good day to all! I have a glm::vec3(this is light.color) and I want to send it to the
Uniform3f(glGetUniformLocation(first.mProgram, "LightColor")), glm::value_ptr(light.color));
this attempt results in an error - an argument of type "float *" is incompatible with an argument of type "GLfloat". Please tell me how to fix it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question