summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/via_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/via_driver.c b/src/via_driver.c
index c81648a..fb21e30 100644
--- a/src/via_driver.c
+++ b/src/via_driver.c
@@ -2684,7 +2684,7 @@ VIAScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
if (!pVia->NoAccel)
viaFinishInitAccel(pScreen);
- if (!pVia->NoAccel) {
+ if (pVia->NoAccel) {
memset(pVia->displayMap, 0x00, pVia->Bpl * pScrn->virtualY);
} else {
viaAccelFillRect(pScrn, pScrn->frameX0, pScrn->frameY0,