summaryrefslogtreecommitdiff
path: root/progs/vp/vp-tris.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-11-01 20:29:59 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-11-01 20:29:59 +0000
commita9b927cb6e5b4a98cf324faa2b0d61de1ce1a090 (patch)
tree86bfdbf29c87b38647683fe53c67ecb9fb32c664 /progs/vp/vp-tris.c
parenta546abc8da5e03d4caf4c044726ba364d3688b32 (diff)
add an arl test
Diffstat (limited to 'progs/vp/vp-tris.c')
-rw-r--r--progs/vp/vp-tris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/vp/vp-tris.c b/progs/vp/vp-tris.c
index 04f5e0e152..abc056b8d0 100644
--- a/progs/vp/vp-tris.c
+++ b/progs/vp/vp-tris.c
@@ -78,7 +78,6 @@ static void Init( void )
glProgramStringARB(GL_VERTEX_PROGRAM_ARB, GL_PROGRAM_FORMAT_ASCII_ARB,
sz, (const GLubyte *) buf);
- assert(glIsProgramARB(prognum));
errno = glGetError();
printf("glGetError = %d\n", errno);
if (errno != GL_NO_ERROR)
@@ -89,6 +88,7 @@ static void Init( void )
printf("errorpos: %d\n", errorpos);
printf("%s\n", (char *)glGetString(GL_PROGRAM_ERROR_STRING_ARB));
}
+ assert(glIsProgramARB(prognum));
}