diff options
Diffstat (limited to 'src/nv_driver.c')
-rw-r--r-- | src/nv_driver.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nv_driver.c b/src/nv_driver.c index c94a890..99b2990 100644 --- a/src/nv_driver.c +++ b/src/nv_driver.c @@ -2632,9 +2632,14 @@ NVScreenInit(SCREEN_INIT_ARGS_DECL) case 32: refreshArea = NVRefreshArea32; break; } if(!pNv->RandRRotation) { +#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 } } pNv->refreshArea = refreshArea; |