summaryrefslogtreecommitdiffstats
path: root/progs/tests/quads.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-12-20 01:01:00 -0800
committerVinson Lee <[email protected]>2009-12-20 01:01:00 -0800
commit0dd951387405fc67b93c675d6a462ce020504719 (patch)
tree315f442f6e326135837415085b7aab001b901c63 /progs/tests/quads.c
parentd87d71036cf546488981d3bd174fde967533bad2 (diff)
progs/tests: Silence compiler warnings.
Diffstat (limited to 'progs/tests/quads.c')
-rw-r--r--progs/tests/quads.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/tests/quads.c b/progs/tests/quads.c
index 2098b51ccd2..e5b9920b66d 100644
--- a/progs/tests/quads.c
+++ b/progs/tests/quads.c
@@ -17,7 +17,10 @@ static GLfloat Xrot = 40, Yrot = 0, Zrot = 0;
static GLboolean Anim = GL_TRUE;
static GLuint Vbuffer = 0;
+#if 1
+#else
static GLfloat buf[NUM_QUADS * 6 * 4];
+#endif
static GLboolean doSwapBuffers = GL_TRUE;