diff --git a/src/common/gl/context.cpp b/src/common/gl/context.cpp index 277ec83c0..861cb21cf 100644 --- a/src/common/gl/context.cpp +++ b/src/common/gl/context.cpp @@ -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 Context::Create(const WindowInfo& wi, const Version } std::unique_ptr 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);