From 620e19472732fec4cf247f8983071deb1da742cc Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Sun, 10 Mar 2024 13:18:03 +0200 Subject: [PATCH] [Windows] Disable fallback to ANGLE logic when compiled w/o ANGLE support. --- platform/windows/display_server_windows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/windows/display_server_windows.cpp b/platform/windows/display_server_windows.cpp index 0884119278c..eff2ec8f968 100644 --- a/platform/windows/display_server_windows.cpp +++ b/platform/windows/display_server_windows.cpp @@ -5621,7 +5621,7 @@ DisplayServerWindows::DisplayServerWindows(const String &p_rendering_driver, Win if (rendering_driver == "opengl3") { rendering_driver = "opengl3_angle"; } -#else +#elif defined(EGL_STATIC) bool fallback = GLOBAL_GET("rendering/gl_compatibility/fallback_to_angle"); if (fallback && (rendering_driver == "opengl3")) { Dictionary gl_info = detect_wgl();