summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-08-07 18:24:44 -0700
committerEric Anholt <eric@anholt.net>2009-08-07 18:24:44 -0700
commite8f0763d405a8152c74c28792c52fe12c1d41dd5 (patch)
tree6cdfd3976f9f833035cf10daa4d599bf51036130 /src
parent222b52ef16895823fbf3a0fc0be4eb23b930ed1b (diff)
Fix math in the tiling alignment fix.
Diffstat (limited to 'src')
-rw-r--r--src/i830_uxa.c2
1 files changed, 1 insertions, 1 deletions
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);