Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.1
-
None
-
Linux x64
Description
When trying to upload a shader uniform value of GLSL type mat2x4, setUniformValue(int, QMatrix2x4) is calling glUniform4fv instead of the correct function, glUniformMatrix2x4fv. This causes an error in OpenGL 4.3 core profile, and the matrix is not uploaded. The error message is:
GL_INVALID_OPERATION error generated. Uniform must be a matrix type in call to UniformMatrix*.
Relevant code is here: