summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-08-08 01:24:44 (GMT)
committerEric Anholt <eric@anholt.net>2009-08-08 01:24:44 (GMT)
commite8f0763d405a8152c74c28792c52fe12c1d41dd5 (patch)
tree6cdfd3976f9f833035cf10daa4d599bf51036130
parent222b52ef16895823fbf3a0fc0be4eb23b930ed1b (diff)
Fix math in the tiling alignment fix.
-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 1087128..bb1c616 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);