diff --git a/src/win32/i_system.h b/src/win32/i_system.h index c9413631c..cf2673717 100644 --- a/src/win32/i_system.h +++ b/src/win32/i_system.h @@ -3,8 +3,11 @@ #ifndef __I_SYSTEM__ #define __I_SYSTEM__ -#include "doomtype.h" +#include "basics.h" #include +#include "tarray.h" +#include "zstring.h" +#include "utf8.h" struct ticcmd_t; struct WadStuff; diff --git a/src/win32/win32glvideo.cpp b/src/win32/win32glvideo.cpp index 4227f55b9..80dadfd0e 100644 --- a/src/win32/win32glvideo.cpp +++ b/src/win32/win32glvideo.cpp @@ -409,7 +409,6 @@ bool Win32GLVideo::InitHardware(HWND Window, int multisample) int prof = WGL_CONTEXT_CORE_PROFILE_BIT_ARB; const char *version = Args->CheckValue("-glversion"); - if (version != nullptr && strtod(version, nullptr) < 3.0) prof = WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB; for (; prof <= WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB; prof++) {