Revert "st/mesa: only resolve is number of samples is > 1"
authorDave Airlie <airlied@redhat.com>
Sat, 10 Dec 2011 09:04:46 +0000 (09:04 +0000)
committerDave Airlie <airlied@redhat.com>
Sat, 10 Dec 2011 09:04:51 +0000 (09:04 +0000)
This reverts commit 8c713626db33c40c18e24c880fe47d7948f4dcd7.

Didn't mean to push this at all

src/mesa/state_tracker/st_cb_blit.c

index 8f0c2e8716a0b8c5541fb30a3e4740ffde0eef7b..750f541b5ddf00b9225e49ded714dfe6e32c66d3 100644 (file)
@@ -178,7 +178,7 @@ st_BlitFramebuffer(struct gl_context *ctx,
       st->pipe->render_condition(st->pipe, NULL, 0);
    }
 
-   if (readFB->Visual.sampleBuffers > drawFB->Visual.sampleBuffers && readFB->Visual.samples > 1) {
+   if (readFB->Visual.sampleBuffers > drawFB->Visual.sampleBuffers) {
       struct pipe_resolve_info info;
 
       if (dstX0 < dstX1) {