- some final cleanup.

This commit is contained in:
Christoph Oelckers 2020-04-22 22:35:28 +02:00
parent 3961f708fe
commit 8473be2a0c
2 changed files with 4 additions and 2 deletions

View file

@ -3,8 +3,11 @@
#ifndef __I_SYSTEM__
#define __I_SYSTEM__
#include "doomtype.h"
#include "basics.h"
#include <thread>
#include "tarray.h"
#include "zstring.h"
#include "utf8.h"
struct ticcmd_t;
struct WadStuff;

View file

@ -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++)
{