gallium: disable an unneeded assertion (hit with texwrap.c)
authorBrian <brian.paul@tungstengraphics.com>
Tue, 4 Mar 2008 15:38:54 +0000 (08:38 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 11 Mar 2008 00:08:14 +0000 (18:08 -0600)
src/mesa/state_tracker/st_cb_texture.c

index 1ba3173..d4731c7 100644 (file)
@@ -529,7 +529,8 @@ st_TexImage(GLcontext * ctx,
         texImage->RowStride = postConvWidth;
       }
       
-      assert(texImage->RowStride == postConvWidth);
+      /* we'll set RowStride elsewhere when the texture is a "mapped" state */
+      /*assert(texImage->RowStride == postConvWidth);*/
    }
 
    /* Release the reference to a potentially orphaned buffer.