diff options
author | Dave Airlie <airlied@linux.ie> | 2009-09-26 06:03:51 +1000 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-09-25 17:06:49 -0400 |
commit | ecc192e2e5d72090bb35b142c6dc4639ec2542f0 (patch) | |
tree | bf72f20386eca327243aa32a34a03772c5749e31 /src | |
parent | d1d3681748251fb7e95b8d56e6c37847ca6b1a8d (diff) |
radeon: fix zaphod
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 551cb7fb..800397c0 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -3727,6 +3727,8 @@ Bool RADEONScreenInit(int scrnIndex, ScreenPtr pScreen, memset(info->FB + pScrn->fbOffset, 0, pScrn->virtualY * pScrn->displayWidth * info->CurrentLayout.pixel_bytes); + pScrn->pScreen = pScreen; + /* set the modes with desired rotation, etc. */ if (!xf86SetDesiredModes (pScrn)) return FALSE; |