diff options
Diffstat (limited to 'src/i830_memory.c')
-rw-r--r-- | src/i830_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c index 7abea723..bf3072a3 100644 --- a/src/i830_memory.c +++ b/src/i830_memory.c @@ -491,7 +491,7 @@ i830_memory *i830_allocate_framebuffer(ScrnInfoPtr scrn) /* We'll allocate the fb such that the root window will fit regardless of * rotation. */ - fb_height = scrn->virtualY; + fb_height = ALIGN(scrn->virtualY, 8); /* Calculate how much framebuffer memory to allocate. For the * initial allocation, calculate a reasonable minimum. This is |