Hotfix for Windows 10 Black Screen
Gamma correction was causing a black screen of death on Windows 10 version 1903 when using a single monitor. This hot fix simply comments out the offending code.
@@ -194,8 +194,8 @@ bool Video::setDevice( const char *renderName, U32 width, U32 height, U32 bpp, b
Game->textureResurrect();
smNeedResurrect = false;
}
- if (sgOriginalGamma != -1.0 || Video::getGammaCorrection(sgOriginalGamma))
- Video::setGammaCorrection(sgOriginalGamma + sgGammaCorrection);
+ //if (sgOriginalGamma != -1.0 || Video::getGammaCorrection(sgOriginalGamma))
+ //Video::setGammaCorrection(sgOriginalGamma + sgGammaCorrection);
Con::evaluate("resetCanvas();");
}
