mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-22 17:32:05 +00:00
- some final cleanup.
This commit is contained in:
parent
3961f708fe
commit
8473be2a0c
2 changed files with 4 additions and 2 deletions
|
@ -3,8 +3,11 @@
|
||||||
#ifndef __I_SYSTEM__
|
#ifndef __I_SYSTEM__
|
||||||
#define __I_SYSTEM__
|
#define __I_SYSTEM__
|
||||||
|
|
||||||
#include "doomtype.h"
|
#include "basics.h"
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
#include "tarray.h"
|
||||||
|
#include "zstring.h"
|
||||||
|
#include "utf8.h"
|
||||||
|
|
||||||
struct ticcmd_t;
|
struct ticcmd_t;
|
||||||
struct WadStuff;
|
struct WadStuff;
|
||||||
|
|
|
@ -409,7 +409,6 @@ bool Win32GLVideo::InitHardware(HWND Window, int multisample)
|
||||||
int prof = WGL_CONTEXT_CORE_PROFILE_BIT_ARB;
|
int prof = WGL_CONTEXT_CORE_PROFILE_BIT_ARB;
|
||||||
const char *version = Args->CheckValue("-glversion");
|
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++)
|
for (; prof <= WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB; prof++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue