Limit attempting to toggle DWM off when using OpenGL modes to Vista/7, because Windows 8 no longer supports disabling DWM. Apparently, Windows 8 contains a software DWM renderer, and all of the "Metro" bs is directly tied to DWM, so there is no longer a way for an app to disable it at will.

git-svn-id: https://svn.eduke32.com/eduke32@3283 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2012-12-14 17:13:25 +00:00
parent ba8d1a5c1e
commit 21aa93c168

View file

@ -215,7 +215,7 @@ void win_init(void)
void win_setvideomode(int32_t c)
{
if (osv.dwMajorVersion >= 6)
if (osv.dwMajorVersion >= 6 && osv.dwMinorVersion < 2)
ToggleDesktopComposition(c < 16);
}