summaryrefslogtreecommitdiffstats
path: root/progs/tests/vptest1.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-04-18 10:20:26 -0600
committerBrian Paul <brianp@vmware.com>2009-04-18 10:20:26 -0600
commit3e750ce5c4576883f5b567eaf3336fea3df3a997 (patch)
treeed9907d5fa0caf738e8261d59404f1c47bb43bbe /progs/tests/vptest1.c
parentc5af2ed60fa4fe3f33b53a8e252e24cfa490a156 (diff)
demos: fix incorrect assertion
Diffstat (limited to 'progs/tests/vptest1.c')
-rw-r--r--progs/tests/vptest1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/tests/vptest1.c b/progs/tests/vptest1.c
index 51629192923..6e32b033468 100644
--- a/progs/tests/vptest1.c
+++ b/progs/tests/vptest1.c
@@ -128,7 +128,7 @@ static void Init( void )
glLoadProgramNV(GL_VERTEX_PROGRAM_NV, 1,
strlen(prog1),
(const GLubyte *) prog1);
- assert(!glIsProgramNV(1));
+ assert(glIsProgramNV(1));
glLoadProgramNV(GL_VERTEX_PROGRAM_NV, 2,
strlen(prog2),