summaryrefslogtreecommitdiff
path: root/src/savage_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/savage_driver.c')
-rw-r--r--src/savage_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c
index 7c3ce90..1cb91f6 100644
--- a/src/savage_driver.c
+++ b/src/savage_driver.c
@@ -4267,6 +4267,7 @@ SavageUpdateKey(ScrnInfoPtr pScrn, int r, int g, int b)
ol = 0;
}
if (!(pScreen = pScrn->pScreen)
+ || !psav->FBStart2nd
|| !(pScrOvlPriv = fbOverlayGetScrPriv(pScreen)))
return;
key = ((Shift(r,psav->overlay.redShift) & psav->overlay.redMask)