summaryrefslogtreecommitdiff
path: root/src/drmmode_display.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-03-06 14:29:22 -0800
committerEric Anholt <eric@anholt.net>2009-03-06 14:31:59 -0800
commit043a76a040d4576b7a8397dca805466a99bfcdd6 (patch)
tree39dcd1bc6f999fca4cee34bb4bb99cc89fa53805 /src/drmmode_display.c
parentb23f57b310b693f56af273526383221a4f8b96f5 (diff)
clean up arguments to i830_allocate_framebuffer since zaphod removal.
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r--src/drmmode_display.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index d9ca16c7..141c027b 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -632,7 +632,6 @@ drmmode_xf86crtc_resize (ScrnInfoPtr scrn, int width, int height)
drmmode_ptr drmmode = drmmode_crtc->drmmode;
I830Ptr pI830 = I830PTR(scrn);
i830_memory *old_front = NULL;
- BoxRec mem_box;
Bool tiled, ret;
ScreenPtr screen = screenInfo.screens[scrn->scrnIndex];
uint32_t old_fb_id;
@@ -659,8 +658,7 @@ drmmode_xf86crtc_resize (ScrnInfoPtr scrn, int width, int height)
scrn->virtualX = width;
scrn->virtualY = height;
scrn->displayWidth = pitch;
- pI830->front_buffer =
- i830_allocate_framebuffer(scrn, pI830, &mem_box, FALSE);
+ pI830->front_buffer = i830_allocate_framebuffer(scrn);
if (!pI830->front_buffer)
goto fail;