Commit 0a1148ff authored by Dave Airlie's avatar Dave Airlie
Browse files

framebuffer_sRGB: fix redraw

forgot to disable texture after drawing the FBO.
parent b6a0fc0f
...@@ -248,6 +248,7 @@ draw_fbo(int x, int y) ...@@ -248,6 +248,7 @@ draw_fbo(int x, int y)
piglit_draw_rect_tex(x, y, FBO_SIZE, FBO_SIZE, piglit_draw_rect_tex(x, y, FBO_SIZE, FBO_SIZE,
0, 0, 1, 1); 0, 0, 1, 1);
glDisable(GL_TEXTURE_2D);
} }
static GLboolean static GLboolean
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment