mirror of
https://github.com/reactos/wine.git
synced 2025-02-28 16:56:24 +00:00
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…
x
Reference in New Issue
Block a user