From 8700673157fdd3a87ad5150f2f30823261fec519 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 7 Jun 2010 00:16:18 +0100 Subject: Adapt glyphs for changes in devPrivates API Signed-off-by: Chris Wilson --- src/i830_driver.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/i830_driver.c') diff --git a/src/i830_driver.c b/src/i830_driver.c index 89a4525c..39585d3a 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -1221,6 +1221,11 @@ I830ScreenInit(int scrnIndex, ScreenPtr screen, int argc, char **argv) xf86SetBlackWhitePixels(screen); + miInitializeBackingStore(screen); + xf86SetBackingStore(screen); + xf86SetSilkenMouse(screen); + miDCInitialize(screen, xf86GetPointerScreenFuncs()); + if (!I830AccelInit(screen)) { xf86DrvMsg(scrn->scrnIndex, X_ERROR, "Hardware acceleration initialization failed\n"); @@ -1235,13 +1240,7 @@ I830ScreenInit(int scrnIndex, ScreenPtr screen, int argc, char **argv) } else intel->batch_flush_notify = i830_batch_flush_notify; - miInitializeBackingStore(screen); - xf86SetBackingStore(screen); - xf86SetSilkenMouse(screen); - miDCInitialize(screen, xf86GetPointerScreenFuncs()); - xf86DrvMsg(scrn->scrnIndex, X_INFO, "Initializing HW Cursor\n"); - if (!xf86_cursors_init(screen, I810_CURSOR_X, I810_CURSOR_Y, (HARDWARE_CURSOR_TRUECOLOR_AT_8BPP | HARDWARE_CURSOR_BIT_ORDER_MSBFIRST | -- cgit v1.2.3