From: Brian Date: Tue, 4 Mar 2008 15:38:54 +0000 (-0700) Subject: gallium: disable an unneeded assertion (hit with texwrap.c) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7585b4ceb8fed862c07f50af8030a6f0eb8a8321;p=mesa.git gallium: disable an unneeded assertion (hit with texwrap.c) --- diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 1ba31733120..d4731c77373 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -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.