From: Brian Paul Date: Tue, 6 May 2008 21:39:39 +0000 (-0600) Subject: gallium: re-enable temporarily disabled code in do_copy_texsubimage() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b0fd0f1572cd6af1e931b70f75852de25d32649;p=mesa.git gallium: re-enable temporarily disabled code in do_copy_texsubimage() --- diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 828b2340f22..3723b912108 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -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 */