aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-04-04 01:15:43 +0200
committerraysan5 <raysan5@gmail.com>2016-04-04 01:15:43 +0200
commit0133917bf93fd3efd9580db6ff31126c58bf38f4 (patch)
tree26aaf3c6cf92bb28bca105b3224720d560bc4ebf /src
parentb6cec214bd8cd557a92edeb6a53311eb192b56d4 (diff)
downloadraylib-0133917bf93fd3efd9580db6ff31126c58bf38f4.tar.gz
raylib-0133917bf93fd3efd9580db6ff31126c58bf38f4.zip
Correct detail
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlgl.c b/src/rlgl.c
index e08847b9..b2a36351 100644
--- a/src/rlgl.c
+++ b/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]);