Compatibility with xserver 1.20
This commit is contained in:
parent
7a92c4a4d9
commit
47fb7c8d96
@ -2631,11 +2631,13 @@ NVScreenInit(SCREEN_INIT_ARGS_DECL)
|
||||
case 16: refreshArea = NVRefreshArea16; break;
|
||||
case 32: refreshArea = NVRefreshArea32; break;
|
||||
}
|
||||
#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,19,99,1,0)
|
||||
if(!pNv->RandRRotation) {
|
||||
xf86DisableRandR();
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
|
||||
"Driver rotation enabled, RandR disabled\n");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
pNv->refreshArea = refreshArea;
|
||||
NVShadowInit(pScreen);
|
||||
|
@ -1210,9 +1210,11 @@ RivaScreenInit(SCREEN_INIT_ARGS_DECL)
|
||||
case 16: refreshArea = RivaRefreshArea16; break;
|
||||
case 32: refreshArea = RivaRefreshArea32; break;
|
||||
}
|
||||
#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,19,99,1,0)
|
||||
xf86DisableRandR();
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
|
||||
"Driver rotation enabled, RandR disabled\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
ShadowFBInit(pScreen, refreshArea);
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "micmap.h"
|
||||
|
||||
#include "xf86DDC.h"
|
||||
#include "xf86Modes.h"
|
||||
|
||||
#include "vbe.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user