gallium: re-enable temporarily disabled code in do_copy_texsubimage()
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 6 May 2008 21:39:39 +0000 (15:39 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 6 May 2008 21:39:39 +0000 (15:39 -0600)
src/mesa/state_tracker/st_cb_texture.c

index 828b2340f22fb64c19733d1a01d3ff917657e1d9..3723b91210859310c32ae5e6a5d6e0d8f802cd4c 100644 (file)
@@ -1172,7 +1172,7 @@ do_copy_texsubimage(GLcontext *ctx,
                                           stImage->level, destZ,
                                           PIPE_BUFFER_USAGE_CPU_WRITE);
 
-   if (0&& ctx->_ImageTransferState == 0x0 &&
+   if (ctx->_ImageTransferState == 0x0 &&
        strb->surface->buffer &&
        dest_surface->buffer) {
       /* do blit-style copy */