summaryrefslogtreecommitdiffstats
path: root/progs/tests/fbotest1.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-10-04 15:01:51 +0000
committerBrian Paul <[email protected]>2005-10-04 15:01:51 +0000
commit9e920fb93cc0c388a9fc727b515dedcf1d2f5d9b (patch)
tree3267bae8b3696ff9b175ea0f19fef6ccad27a4b6 /progs/tests/fbotest1.c
parentbc6cced479b0ea854acff9f5fec253d462774290 (diff)
fix glIsRender/FramebufferEXT() assertions
Diffstat (limited to 'progs/tests/fbotest1.c')
-rw-r--r--progs/tests/fbotest1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/tests/fbotest1.c b/progs/tests/fbotest1.c
index 6cacaeb4b9d..364bd230c1e 100644
--- a/progs/tests/fbotest1.c
+++ b/progs/tests/fbotest1.c
@@ -117,14 +117,14 @@ Init( void )
glGenFramebuffersEXT(1, &MyFB);
assert(MyFB);
- assert(glIsFramebufferEXT(MyFB));
+ assert(!glIsFramebufferEXT(MyFB));
glDeleteFramebuffersEXT(1, &MyFB);
assert(!glIsFramebufferEXT(MyFB));
/* Note, continue to use MyFB below */
glGenRenderbuffersEXT(1, &rb);
assert(rb);
- assert(glIsRenderbufferEXT(rb));
+ assert(!glIsRenderbufferEXT(rb));
glDeleteRenderbuffersEXT(1, &rb);
assert(!glIsRenderbufferEXT(rb));
rb = 42; /* an arbitrary ID */