Browse Source

Correct detail

pull/108/head
raysan5 9 years ago
parent
commit
0133917bf9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rlgl.c

+ 1
- 1
src/rlgl.c View File

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

Loading…
Cancel
Save