diff options
author | Dave Airlie <airlied@linux.ie> | 2009-09-26 06:03:51 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-09-26 06:04:11 +1000 |
commit | 718a611f3cc7f5eea95cd73a9dcc7913c922fcbc (patch) | |
tree | b06e2e1b3c87003e5144c7181eb88f94e2dce7dc /src/radeon_driver.c | |
parent | 86c367be517e992aabc1bcfea2a2dde1a1ae520c (diff) |
radeon: fix zaphod
Diffstat (limited to 'src/radeon_driver.c')
-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 a9aafd3f..24ef513e 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -3746,6 +3746,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; |