summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_cb_texture.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-03-04 08:38:54 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-03-10 18:08:14 -0600
commit7585b4ceb8fed862c07f50af8030a6f0eb8a8321 (patch)
treed910326d9d8f2e9fd86ee065a0ca77bb6e310c92 /src/mesa/state_tracker/st_cb_texture.c
parentb1525662b330ca8b4cdd930775f3642bfec3b58f (diff)
gallium: disable an unneeded assertion (hit with texwrap.c)
Diffstat (limited to 'src/mesa/state_tracker/st_cb_texture.c')
-rw-r--r--src/mesa/state_tracker/st_cb_texture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c
index 1ba3173312..d4731c7737 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.