[Project64-Video] Fix desktop brightness

It should only work in fullscreen.
This commit is contained in:
Frank-74 2019-01-14 03:29:17 +00:00
parent 8b0a51c066
commit 79dbd32546
1 changed files with 2 additions and 1 deletions

View File

@ -1754,7 +1754,8 @@ static void CorrectGamma(LPVOID apGammaRamp)
HDC hdc = GetDC(NULL);
if (hdc != NULL)
{
SetDeviceGammaRamp(hdc, apGammaRamp);
if (to_fullscreen)
SetDeviceGammaRamp(hdc, apGammaRamp);
ReleaseDC(NULL, hdc);
}
}