diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-07-19 17:01:59 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2010-07-23 11:28:52 -0700 |
commit | 470c5c662f25d4e27b7d8d25974498aaaae1bf2c (patch) | |
tree | 5cc616611e4446c817a04e8a86b7adb391fa83cc /src/g80_display.c | |
parent | fb82b1725ffdbea78557ea03e0004eef7ef346c1 (diff) |
Remove RANDR_12_INTERFACE checking, always defined.
RANDR_12_INTERFACE is defined in xserver/randr/randstr.h since version 1.2.
This driver only configures against xserver 1.3 or higher.
Reported-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Diffstat (limited to 'src/g80_display.c')
-rw-r--r-- | src/g80_display.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/g80_display.c b/src/g80_display.c index 8c8e5bd..ae946a8 100644 --- a/src/g80_display.c +++ b/src/g80_display.c @@ -734,11 +734,7 @@ G80LoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices, LOCO *colors, } /* Make the change through RandR */ -#ifdef RANDR_12_INTERFACE RRCrtcGammaSet(crtc->randr_crtc, lut_r, lut_g, lut_b); -#else - crtc->funcs->gamma_set(crtc, lut_r, lut_g, lut_b, 256); -#endif } } |