[glfw] Fix VC compiler error

This commit is contained in:
badlogic 2024-06-30 21:07:30 +02:00
parent 75a23e8167
commit dbb3dfb7e7

View File

@ -200,7 +200,7 @@ void texture_dispose(texture_t texture) {
} }
void matrix_ortho_projection(float *matrix, float width, float height) { void matrix_ortho_projection(float *matrix, float width, float height) {
std::memset(matrix, 0, 16 * sizeof(float)); memset(matrix, 0, 16 * sizeof(float));
float left = 0.0f; float left = 0.0f;
float right = width; float right = width;