Browse Source

Correct detail

raysan5 9 năm trước cách đây
mục cha
commit
0133917bf9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/rlgl.c

+ 1 - 1
src/rlgl.c

@@ -1896,7 +1896,7 @@ Model rlglLoadModel(Mesh mesh)
     }
 
     // Create buffers for our vertex data (positions, texcoords, normals)
-    glGenBuffers(4, vertexBuffer);
+    glGenBuffers(3, vertexBuffer);
 
     // Enable vertex attributes: position
     glBindBuffer(GL_ARRAY_BUFFER, vertexBuffer[0]);