summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/i830_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c
index 26e4cfde..2a3463e6 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -1069,7 +1069,7 @@ i830_allocate_framebuffer(ScrnInfoPtr pScrn)
/* We'll allocate the fb such that the root window will fit regardless of
* rotation.
*/
- fb_height = pScrn->virtualY;
+ fb_height = ALIGN(pScrn->virtualY, 8);
/* Calculate how much framebuffer memory to allocate. For the
* initial allocation, calculate a reasonable minimum. This is