From 1dbb19059f5dd5cd2ad386c4f73498095987b943 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Thu, 20 Apr 2006 10:43:19 +0100 Subject: fix bug 6365 --- src/i830_dri.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.3