mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
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:
parent
ba8d1a5c1e
commit
21aa93c168
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ void win_init(void)
|
||||||
|
|
||||||
void win_setvideomode(int32_t c)
|
void win_setvideomode(int32_t c)
|
||||||
{
|
{
|
||||||
if (osv.dwMajorVersion >= 6)
|
if (osv.dwMajorVersion >= 6 && osv.dwMinorVersion < 2)
|
||||||
ToggleDesktopComposition(c < 16);
|
ToggleDesktopComposition(c < 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue