intel: Remove unnecessary minimum pitch alignment to 32 bytes.

This broke with the cleanup I did in convolution removal.  It's
unnecessary anyway since region_alloc_tiled adjusts pitches for us (64
byte alignment)
This commit is contained in:
Eric Anholt
2010-09-23 15:47:53 -07:00
parent 92762842a0
commit 2337f364b1
@@ -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);