Correct pointer offset

This commit is contained in:
Simon 2022-03-29 19:53:00 +01:00
parent 12987c20b9
commit e1a16cbeb2

View file

@ -195,7 +195,7 @@ static void GLSL_ViewMatricesUniformBuffer(const float value[32]) {
{ {
//For now just set identity matrices //For now just set identity matrices
Mat4Identity(viewMatrices); Mat4Identity(viewMatrices);
Mat4Identity(viewMatrices + (16 * sizeof(float))); Mat4Identity(viewMatrices + 16);
} }
else else
{ {