Correct detail

This commit is contained in:
raysan5 2016-04-04 01:15:43 +02:00
parent b6cec214bd
commit 0133917bf9

View File

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