diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-02-11 08:39:49 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-02-11 08:39:49 +1000 |
commit | f7deabfec0dcec4f203f85cd8494a70fe8fa6ebb (patch) | |
tree | 2d41a57a74d9192f61ca36709008231524bff096 /src/nv_driver.c | |
parent | 43524fcbb786c5b9e9ec25776560790aec208719 (diff) |
Pass pScreen to drmmode_fbcon_copy()
Diffstat (limited to 'src/nv_driver.c')
-rw-r--r-- | src/nv_driver.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nv_driver.c b/src/nv_driver.c index 3908347..24a1d15 100644 --- a/src/nv_driver.c +++ b/src/nv_driver.c @@ -1142,12 +1142,12 @@ NVScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) pNv->BlockHandler = pScreen->BlockHandler; pScreen->BlockHandler = NVBlockHandler; - pScrn->vtSema = TRUE; - pScrn->pScreen = pScreen; - drmmode_fbcon_copy(pScrn); + drmmode_fbcon_copy(pScreen); if (!NVEnterVT(pScrn->scrnIndex, 0)) return FALSE; + pScrn->vtSema = TRUE; + pScrn->pScreen = pScreen; xf86DPMSInit(pScreen, xf86DPMSSet, 0); |