Skip to content

Commit

Permalink
Update rlgl.h
Browse files Browse the repository at this point in the history
  • Loading branch information
raysan5 committed Oct 24, 2024
1 parent 6760d1b commit 5065b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rlgl.h
Original file line number Diff line number Diff line change
Expand Up @@ -4342,7 +4342,7 @@ void rlSetUniformMatrices(int locIndex, const Matrix *matrices, int count)
#elif defined(GRAPHICS_API_OPENGL_ES2)
// WARNING: WebGL does not support Matrix transpose ("true" parameter)
// 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
}

Expand Down

0 comments on commit 5065b85

Please sign in to comment.