summaryrefslogtreecommitdiff
path: root/src/g80_sor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/g80_sor.c')
-rw-r--r--src/g80_sor.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/g80_sor.c b/src/g80_sor.c
index 314be96..0c3279f 100644
--- a/src/g80_sor.c
+++ b/src/g80_sor.c
@@ -265,7 +265,6 @@ G80SorGetLVDSModes(xf86OutputPtr output)
return xf86DuplicateMode(pPriv->nativeMode);
}
-#ifdef RANDR_12_INTERFACE
#define MAKE_ATOM(a) MakeAtom((a), sizeof(a) - 1, TRUE);
struct property {
@@ -407,7 +406,6 @@ G80SorSetProperty(xf86OutputPtr output, Atom prop, RRPropertyValuePtr val)
return TRUE;
}
-#endif // RANDR_12_INTERFACE
static const xf86OutputFuncsRec G80SorTMDSOutputFuncs = {
.dpms = G80SorDPMSSet,
@@ -420,10 +418,8 @@ static const xf86OutputFuncsRec G80SorTMDSOutputFuncs = {
.mode_set = G80SorModeSet,
.detect = G80SorDetect,
.get_modes = G80OutputGetDDCModes,
-#ifdef RANDR_12_INTERFACE
.create_resources = G80SorCreateResources,
.set_property = G80SorSetProperty,
-#endif
.destroy = G80SorDestroy,
};
@@ -438,10 +434,8 @@ static const xf86OutputFuncsRec G80SorLVDSOutputFuncs = {
.mode_set = G80SorModeSet,
.detect = G80SorLVDSDetect,
.get_modes = G80SorGetLVDSModes,
-#ifdef RANDR_12_INTERFACE
.create_resources = G80SorCreateResources,
.set_property = G80SorSetProperty,
-#endif
.destroy = G80SorDestroy,
};