浏览代码

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