Browse Source

[glfw] Fix VC compiler error

badlogic 1 year ago
parent
commit
dbb3dfb7e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spine-glfw/src/spine-glfw.cpp

+ 1 - 1
spine-glfw/src/spine-glfw.cpp

@@ -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;