swrast: BlitFramebuffer should not be killed by conditional rendering
authorMarek Olšák <maraeo@gmail.com>
Sun, 29 May 2011 15:52:29 +0000 (17:52 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 30 May 2011 08:50:53 +0000 (10:50 +0200)
NOTE: This is a candidate for the 7.10 branch.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/swrast/s_blit.c

index d943e09b29f9b90ef695fbfa2f8413ca1286b9a6..3516a41bf41a84e73d3f66505ca8ad67f4375ef7 100644 (file)
@@ -568,9 +568,6 @@ _swrast_BlitFramebuffer(struct gl_context *ctx,
    };
    GLint i;
 
-   if (!_mesa_check_conditional_render(ctx))
-      return; /* don't clear */
-
    if (!ctx->DrawBuffer->_NumColorDrawBuffers)
       return;