summaryrefslogtreecommitdiff
path: root/tests/fbo/fbo-drawbuffers-arbfp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fbo/fbo-drawbuffers-arbfp.c')
-rw-r--r--tests/fbo/fbo-drawbuffers-arbfp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fbo/fbo-drawbuffers-arbfp.c b/tests/fbo/fbo-drawbuffers-arbfp.c
index fc5516038..12bb895ea 100644
--- a/tests/fbo/fbo-drawbuffers-arbfp.c
+++ b/tests/fbo/fbo-drawbuffers-arbfp.c
@@ -114,7 +114,7 @@ piglit_display(void)
piglit_draw_rect(0, 0, piglit_width, piglit_height);
glDisable(GL_FRAGMENT_PROGRAM_ARB);
- glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
+ glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, piglit_winsys_fbo);
/* Draw the two green textures to halves of the window. */
glEnable(GL_TEXTURE_2D);