summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Cencora <m.cencora@gmail.com>2010-03-10 12:41:01 -0700
committerBrian Paul <brianp@vmware.com>2010-03-10 12:42:38 -0700
commitaec5aa5afd33220f432df4fa5c0c09265180d9c7 (patch)
tree0a8a0cec2fa0046a5be008254f47ae0470d00535
parentca5933607f883687484506ae4d099aed673be941 (diff)
fbo-blit: s/glBindFramebuffer/glBindFramebufferEXT/
It doesn't segfault now on r300.
-rw-r--r--tests/fbo/fbo-blit.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/fbo/fbo-blit.c b/tests/fbo/fbo-blit.c
index efb5d48e6..0c1c28943 100644
--- a/tests/fbo/fbo-blit.c
+++ b/tests/fbo/fbo-blit.c
@@ -227,8 +227,8 @@ run_test(enum copy_method method)
/* Now that we have correct samples, blit things around.
* FBO(bottom) -> WIN(middle)
*/
- glBindFramebuffer(GL_DRAW_FRAMEBUFFER_EXT, 0);
- glBindFramebuffer(GL_READ_FRAMEBUFFER_EXT, fbo);
+ glBindFramebufferEXT(GL_DRAW_FRAMEBUFFER_EXT, 0);
+ glBindFramebufferEXT(GL_READ_FRAMEBUFFER_EXT, fbo);
copy(x0, y0, x0 + SIZE, y0 + SIZE,
x0, y1, x0 + SIZE, y1 + SIZE,
method);
@@ -241,14 +241,14 @@ run_test(enum copy_method method)
method);
/* FBO(middle) -> WIN(top) back to verify WIN -> FBO */
- glBindFramebuffer(GL_DRAW_FRAMEBUFFER_EXT, 0);
- glBindFramebuffer(GL_READ_FRAMEBUFFER_EXT, fbo);
+ glBindFramebufferEXT(GL_DRAW_FRAMEBUFFER_EXT, 0);
+ glBindFramebufferEXT(GL_READ_FRAMEBUFFER_EXT, fbo);
copy(x0, y1, x0 + SIZE, y1 + SIZE,
x0, y2, x0 + SIZE, y2 + SIZE,
method);
- glBindFramebuffer(GL_DRAW_FRAMEBUFFER_EXT, 0);
- glBindFramebuffer(GL_FRAMEBUFFER_EXT, 0);
+ glBindFramebufferEXT(GL_DRAW_FRAMEBUFFER_EXT, 0);
+ glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
pass = verify_color_rect(PAD, y0, SIZE, SIZE) && pass;
pass = verify_color_rect(PAD, y1, SIZE, SIZE) && pass;