From aec5aa5afd33220f432df4fa5c0c09265180d9c7 Mon Sep 17 00:00:00 2001 From: Maciej Cencora Date: Wed, 10 Mar 2010 12:41:01 -0700 Subject: fbo-blit: s/glBindFramebuffer/glBindFramebufferEXT/ It doesn't segfault now on r300. --- tests/fbo/fbo-blit.c | 12 ++++++------ 1 file 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; -- cgit v1.2.3