summaryrefslogtreecommitdiff
path: root/src/riva_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/riva_driver.c')
-rw-r--r--src/riva_driver.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/riva_driver.c b/src/riva_driver.c
index 759501e..501266f 100644
--- a/src/riva_driver.c
+++ b/src/riva_driver.c
@@ -1210,9 +1210,14 @@ RivaScreenInit(SCREEN_INIT_ARGS_DECL)
case 16: refreshArea = RivaRefreshArea16; break;
case 32: refreshArea = RivaRefreshArea32; break;
}
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 24
xf86DisableRandR();
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"Driver rotation enabled, RandR disabled\n");
+#else
+ xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "Driver rotation enabled\n");
+#endif
}
ShadowFBInit(pScreen, refreshArea);