summaryrefslogtreecommitdiff
path: root/src/tests/vparray.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/vparray.c')
-rw-r--r--src/tests/vparray.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/vparray.c b/src/tests/vparray.c
index bc2d0c68..3de6180e 100644
--- a/src/tests/vparray.c
+++ b/src/tests/vparray.c
@@ -84,7 +84,7 @@ static void Display(void)
if (useList) {
/* dumb, but a good test */
- glNewList(1,GL_COMPILE);
+ glNewList(1, GL_COMPILE);
glDrawArrays(GL_TRIANGLE_STRIP, 0, numverts);
glEndList();
glCallList(1);
@@ -181,7 +181,7 @@ static void init_program(void)
static const GLfloat scale[4] = {2.0, 2.0, 2.0, 0.0};
static const GLfloat bias[4] = {1.0, 1.0, 1.0, 0.0};
- if (!glutExtensionSupported("GL_NV_vertex_program")) {
+ if (!GLEW_NV_vertex_program) {
printf("Sorry, this program requires GL_NV_vertex_program\n");
exit(1);
}