diff options
| -rw-r--r-- | src/mesa/drivers/dri/intel/intel_tex_image.c | 6 | 
1 files changed, 0 insertions, 6 deletions
| diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c b/src/mesa/drivers/dri/intel/intel_tex_image.c index f8cb50797e..4732efd7d7 100644 --- a/src/mesa/drivers/dri/intel/intel_tex_image.c +++ b/src/mesa/drivers/dri/intel/intel_tex_image.c @@ -333,12 +333,6 @@ intelTexImage(GLcontext * ctx,     }     else {        texelBytes = _mesa_get_format_bytes(texImage->TexFormat); -       -      /* Minimum pitch of 32 bytes */ -      if (width * texelBytes < 32) { -	 width = 32 / texelBytes; -	 texImage->RowStride = width; -      }        if (!intelImage->mt) {        	  assert(texImage->RowStride == width); | 
