فهرست منبع

[glfw] Fix VC compiler error

badlogic 1 سال پیش
والد
کامیت
dbb3dfb7e7
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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) {
-    std::memset(matrix, 0, 16 * sizeof(float));
+    memset(matrix, 0, 16 * sizeof(float));
 
     float left = 0.0f;
     float right = width;