summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--src/model/data/base.sqc2
-rw-r--r--src/model/state/state.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/model/data/base.sqc b/src/model/data/base.sqc
index 41a651c..4627bea 100644
--- a/src/model/data/base.sqc
+++ b/src/model/data/base.sqc
@@ -169,7 +169,7 @@ base (void)
v++;
}
- glGenBuffers (2, S.buffers);
+ glGenBuffers (NUM_BUFFERS, S.buffers);
glBindBuffer (GL_ARRAY_BUFFER, S.buffers[BASE_VERTICES]);
glVertexPointer (2, GL_FLOAT, 0, 0);

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.