From e8f0763d405a8152c74c28792c52fe12c1d41dd5 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 7 Aug 2009 18:24:44 -0700 Subject: [PATCH] Fix math in the tiling alignment fix. --- src/i830_uxa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i830_uxa.c b/src/i830_uxa.c index 1087128e..bb1c6161 100644 --- a/src/i830_uxa.c +++ b/src/i830_uxa.c @@ -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);