WIN32 macro -> _WIN32

This commit is contained in:
Connor McLaughlin
2021-06-28 20:16:48 +10:00
parent 489de3f9ce
commit 911e9a37f1
41 changed files with 123 additions and 123 deletions

View File

@@ -9,7 +9,7 @@
#endif
Log_SetChannel(GL::Context);
#if defined(WIN32) && !defined(_M_ARM64)
#if defined(_WIN32) && !defined(_M_ARM64)
#include "context_wgl.h"
#elif defined(__APPLE__) && !defined(LIBERTRO)
#include "context_agl.h"
@@ -97,7 +97,7 @@ std::unique_ptr<GL::Context> Context::Create(const WindowInfo& wi, const Version
}
std::unique_ptr<Context> context;
#if defined(WIN32) && !defined(_M_ARM64)
#if defined(_WIN32) && !defined(_M_ARM64)
context = ContextWGL::Create(wi, versions_to_try, num_versions_to_try);
#elif defined(__APPLE__)
context = ContextAGL::Create(wi, versions_to_try, num_versions_to_try);

View File

@@ -67,7 +67,7 @@ public:
static const std::array<Version, 16>& GetAllVersionsList();
protected:
#ifdef WIN32
#ifdef _WIN32
#endif
WindowInfo m_wi;