diff options
author | Thomas Hellstrom <unichrome@shipmail.org> | 2005-08-13 08:51:41 +0000 |
---|---|---|
committer | Thomas Hellstrom <unichrome@shipmail.org> | 2005-08-13 08:51:41 +0000 |
commit | 430f37a54ba0dbc4aaa96bdeb64d7eec5b7eb8ed (patch) | |
tree | 817837f499bc0b93bb3c98536074c9c60379f9a8 | |
parent | 45b571d5d32b06f8e4d1548932d9ae5399ac3d11 (diff) |
Fix via segfault on EnterVT when DRI is not enabled. (Joris van Rantwijk)
-rw-r--r-- | src/via_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/via_driver.c b/src/via_driver.c index 04e7c7c..7722846 100644 --- a/src/via_driver.c +++ b/src/via_driver.c @@ -1451,8 +1451,8 @@ static Bool VIAEnterVT(int scrnIndex, int flags) #ifdef XF86DRI - kickVblank(pScrn); if (pVia->directRenderingEnabled) { + kickVblank(pScrn); VIADRIRingBufferInit(pScrn); DRIUnlock(screenInfo.screens[scrnIndex]); } |