From 7585b4ceb8fed862c07f50af8030a6f0eb8a8321 Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 4 Mar 2008 08:38:54 -0700 Subject: [PATCH] gallium: disable an unneeded assertion (hit with texwrap.c) --- src/mesa/state_tracker/st_cb_texture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- 2.30.2