diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2008-04-21 17:34:00 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2008-04-21 17:34:00 +0800 |
commit | 7c2a3fced8bbf0915ee4160c23b1752917c1e69d (patch) | |
tree | 31d7e4a8eda4075d77ef126f14dc5fc61fc05fc2 | |
parent | 33107357a1226b9218fac410a7502a981aac5cc5 (diff) |
intel: fix an assertion failure. fix bug #15575
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_tex_image.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c b/src/mesa/drivers/dri/intel/intel_tex_image.c index a56a395646..bcb65835c6 100644 --- a/src/mesa/drivers/dri/intel/intel_tex_image.c +++ b/src/mesa/drivers/dri/intel/intel_tex_image.c @@ -348,8 +348,10 @@ intelTexImage(GLcontext * ctx, postConvWidth = 32 / texelBytes; texImage->RowStride = postConvWidth; } - - assert(texImage->RowStride == postConvWidth); + + if (!intelImage->mt) { + assert(texImage->RowStride == postConvWidth); + } } /* Release the reference to a potentially orphaned buffer. |