Fix math in the tiling alignment fix.

This commit is contained in:
Eric Anholt 2009-08-07 18:24:44 -07:00
parent 222b52ef16
commit e8f0763d40
1 changed files with 1 additions and 1 deletions

View File

@ -619,7 +619,7 @@ i830_uxa_create_pixmap (ScreenPtr screen, int w, int h, int depth, unsigned usag
if (tiling == I915_TILING_X)
aligned_h = ALIGN(h, 8);
else
aligned_h = ALIGN(h, 16);
aligned_h = ALIGN(h, 32);
assert(aligned_h >= h);
stride = i830_get_fence_pitch(i830, stride, tiling);