summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-06-07 00:16:18 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-06-07 00:17:32 +0100
commit8700673157fdd3a87ad5150f2f30823261fec519 (patch)
tree4e7071efe688bd03ccf7d01903ebc49269e3e4d0 /src/i830_driver.c
parent42ddc39430a10513c49a415ddf1a0dc5fa52089e (diff)
Adapt glyphs for changes in devPrivates API
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c11
1 files changed, 5 insertions, 6 deletions
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 |