winex11.drv: Don't set gamma when UseXVidMode is turned off.
This commit is contained in:
parent
1c2f066f86
commit
62802b8bdf
|
@ -389,7 +389,7 @@ static BOOL X11DRV_XF86VM_SetGammaRamp(LPDDGAMMARAMP ramp)
|
|||
#ifdef X_XF86VidModeSetGamma
|
||||
XF86VidModeGamma gamma;
|
||||
|
||||
if (xf86vm_major < 2) return FALSE; /* no gamma control */
|
||||
if (xf86vm_major < 2 || !usexvidmode) return FALSE; /* no gamma control */
|
||||
#ifdef X_XF86VidModeSetGammaRamp
|
||||
else if (xf86vm_use_gammaramp)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue