mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-09 12:58:13 +00:00
Update rlgl.h
This commit is contained in:
@@ -4342,7 +4342,7 @@ void rlSetUniformMatrices(int locIndex, const Matrix *matrices, int count)
|
|||||||
#elif defined(GRAPHICS_API_OPENGL_ES2)
|
#elif defined(GRAPHICS_API_OPENGL_ES2)
|
||||||
// WARNING: WebGL does not support Matrix transpose ("true" parameter)
|
// WARNING: WebGL does not support Matrix transpose ("true" parameter)
|
||||||
// REF: https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix
|
// REF: https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/uniformMatrix
|
||||||
glUniformMatrix4fv(locIndex, count, true, (const float *)matrices);
|
glUniformMatrix4fv(locIndex, count, false, (const float *)matrices);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user