GL/Context: Don't use WGL on Windows/ARM64
This commit is contained in:
parent
df15229eec
commit
69d29d7395
|
@ -9,7 +9,7 @@
|
|||
#endif
|
||||
Log_SetChannel(GL::Context);
|
||||
|
||||
#if defined(WIN32)
|
||||
#if defined(WIN32) && !defined(_M_ARM64)
|
||||
#include "context_wgl.h"
|
||||
#elif defined(__APPLE__) && !defined(LIBERTRO)
|
||||
#include "context_agl.h"
|
||||
|
@ -75,7 +75,7 @@ std::unique_ptr<GL::Context> Context::Create(const WindowInfo& wi, const Version
|
|||
}
|
||||
|
||||
std::unique_ptr<Context> context;
|
||||
#if defined(WIN32)
|
||||
#if defined(WIN32) && !defined(_M_ARM64)
|
||||
context = ContextWGL::Create(wi, versions_to_try, num_versions_to_try);
|
||||
#elif defined(__APPLE__) && !defined(LIBRETRO)
|
||||
context = ContextAGL::Create(wi, versions_to_try, num_versions_to_try);
|
||||
|
|
Loading…
Reference in New Issue