From 24dfbad0249baca0c531c8bf16c0a14af309c524 Mon Sep 17 00:00:00 2001 From: Miku AuahDark Date: Tue, 10 Jun 2025 20:25:27 +0800 Subject: [PATCH] Windows: Prefer OpenGL on Windows ARM64. Closes #2196. --- src/modules/graphics/Graphics.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/graphics/Graphics.cpp b/src/modules/graphics/Graphics.cpp index 2a17dd0a2..a717ec85d 100644 --- a/src/modules/graphics/Graphics.cpp +++ b/src/modules/graphics/Graphics.cpp @@ -116,8 +116,10 @@ namespace vulkan { extern love::graphics::Graphics *createInstance(); } static const Renderer rendererOrder[] = { RENDERER_METAL, -#ifdef LOVE_ANDROID - // Don't enable vulkan by default yet on android - it needs more testing. +#if defined(LOVE_ANDROID) || (defined(LOVE_WINDOWS) && defined(_M_ARM64)) + // Don't prioritize Vulkan by default yet on Android - it needs more testing. + // Also don't prioritize Vulkan on Windows ARM64 because it doesn't work. + // See https://github.com/love2d/love/issues/2196 RENDERER_OPENGL, RENDERER_VULKAN, #else