randr: drop obsolete RRGetRotation()
Not used anymore, so no need to keep it around anymore. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
233ea698e6
commit
648b96e5d4
|
@ -584,8 +584,6 @@ extern _X_EXPORT void
|
||||||
RRSetCurrentConfig(ScreenPtr pScreen,
|
RRSetCurrentConfig(ScreenPtr pScreen,
|
||||||
Rotation rotation, int rate, RRScreenSizePtr pSize);
|
Rotation rotation, int rate, RRScreenSizePtr pSize);
|
||||||
|
|
||||||
extern _X_EXPORT Rotation RRGetRotation(ScreenPtr pScreen);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* rrcrtc.c */
|
/* rrcrtc.c */
|
||||||
|
|
|
@ -297,17 +297,6 @@ RRRegisterRate(ScreenPtr pScreen, RRScreenSizePtr pSize, int rate)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
Rotation
|
|
||||||
RRGetRotation(ScreenPtr pScreen)
|
|
||||||
{
|
|
||||||
RROutputPtr output = RRFirstOutput(pScreen);
|
|
||||||
|
|
||||||
if (!output)
|
|
||||||
return RR_Rotate_0;
|
|
||||||
|
|
||||||
return output->crtc->rotation;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
RRSetCurrentConfig(ScreenPtr pScreen,
|
RRSetCurrentConfig(ScreenPtr pScreen,
|
||||||
Rotation rotation, int rate, RRScreenSizePtr pSize)
|
Rotation rotation, int rate, RRScreenSizePtr pSize)
|
||||||
|
|
Loading…
Reference in New Issue