summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2006-04-20 10:43:19 +0100
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2006-04-20 10:43:19 +0100
commit1dbb19059f5dd5cd2ad386c4f73498095987b943 (patch)
treeaef0daf24c13679d7a2d42400c31f3c5d02be19d
parenta85be820033af8bf30d1fec4a899349af35a6ef6 (diff)
fix bug 6365
-rw-r--r--src/i830_dri.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i830_dri.c b/src/i830_dri.c
index e5890c24..13d2cfdd 100644
--- a/src/i830_dri.c
+++ b/src/i830_dri.c
@@ -771,6 +771,9 @@ I830DRIDoMappings(ScreenPtr pScreen)
sarea->depth_handle = 0;
sarea->tex_handle = 0;
+ /* Assign pScreen */
+ pScrn->pScreen = pScreen;
+
/* Need to initialize pScreen now to let RandR know. */
pScrn->pScreen->width = pScrn->virtualX;
pScrn->pScreen->height = pScrn->virtualY;