aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/state_tracker/st_cb_drawpixels.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-05-30 22:26:52 +0200
committermarha <marha@users.sourceforge.net>2011-05-30 22:26:52 +0200
commitd60233950866066e23e8a46ac230aae9f296031e (patch)
tree30fdaf70fdb33eecd6479cffe02d26d7af812c3f /mesalib/src/mesa/state_tracker/st_cb_drawpixels.c
parent91def498916935bc9ebd433a28981d19bf426961 (diff)
parent072157e2ba87f3303958e48815fa2548009d3410 (diff)
downloadvcxsrv-d60233950866066e23e8a46ac230aae9f296031e.tar.gz
vcxsrv-d60233950866066e23e8a46ac230aae9f296031e.tar.bz2
vcxsrv-d60233950866066e23e8a46ac230aae9f296031e.zip
Merge remote-tracking branch 'origin/released'
Conflicts: mesalib/src/mesa/main/shaderapi.c mesalib/src/mesa/state_tracker/st_cb_blit.c mesalib/src/mesa/state_tracker/st_cb_drawpixels.c mesalib/src/mesa/state_tracker/st_cb_texture.c mesalib/src/mesa/state_tracker/st_context.h mesalib/src/mesa/state_tracker/st_format.c
Diffstat (limited to 'mesalib/src/mesa/state_tracker/st_cb_drawpixels.c')
-rw-r--r--mesalib/src/mesa/state_tracker/st_cb_drawpixels.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_cb_drawpixels.c b/mesalib/src/mesa/state_tracker/st_cb_drawpixels.c
index 468355ccb..fd41791a9 100644
--- a/mesalib/src/mesa/state_tracker/st_cb_drawpixels.c
+++ b/mesalib/src/mesa/state_tracker/st_cb_drawpixels.c
@@ -1247,7 +1247,8 @@ blit_copy_pixels(struct gl_context *ctx, GLint srcx, GLint srcy,
!ctx->VertexProgram.Enabled &&
!ctx->Shader.CurrentFragmentProgram &&
st_fb_orientation(ctx->ReadBuffer) == st_fb_orientation(ctx->DrawBuffer) &&
- ctx->DrawBuffer->_NumColorDrawBuffers == 1) {
+ ctx->DrawBuffer->_NumColorDrawBuffers == 1 &&
+ !ctx->Query.CondRenderQuery) {
struct st_renderbuffer *rbRead, *rbDraw;
GLint drawX, drawY;