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 1ba31733120c447e5c76ed7602ecd0d5db1ecf70..d4731c77373df53cca50c1a99495a2273295bd1d 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.