From 7c2a3fced8bbf0915ee4160c23b1752917c1e69d Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Mon, 21 Apr 2008 17:34:00 +0800 Subject: [PATCH] intel: fix an assertion failure. fix bug #15575 --- src/mesa/drivers/dri/intel/intel_tex_image.c | 6 ++++-- 1 file 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 a56a3956466..bcb65835c6b 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. -- 2.30.2