X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=utils%2Ffade.c;h=00eb9d1ad0610aec7c0fc5a94b72602f6fe0ea5e;hp=3df6bc9edfdb64abeecc5d0c2de616a1b03a4660;hb=8eb2873d7054e705c4e83f22d18c40946a9e2529;hpb=a1d41b2aa6e18bf9a49b914a99dda8232c5d7762 diff --git a/utils/fade.c b/utils/fade.c index 3df6bc9e..00eb9d1a 100644 --- a/utils/fade.c +++ b/utils/fade.c @@ -659,6 +659,7 @@ xf86_gamma_fade (Display *dpy, if (!XF86VidModeGetGamma(dpy, screen, &info[screen].vmg)) goto FAIL; } +# ifdef HAVE_XF86VMODE_GAMMA_RAMP else if (ext_ok == 2) /* have ramps */ { if (!XF86VidModeGetGammaRampSize(dpy, screen, &info[screen].size)) @@ -682,6 +683,7 @@ xf86_gamma_fade (Display *dpy, info[screen].b)) goto FAIL; } +# endif /* HAVE_XF86VMODE_GAMMA_RAMP */ else abort(); }