[Windows] Disable fallback to ANGLE logic when compiled w/o ANGLE support.

This commit is contained in:
bruvzg 2024-03-10 13:18:03 +02:00
parent 0ace0a1292
commit 620e194727
No known key found for this signature in database
GPG Key ID: 7960FCF39844EC38

View File

@ -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();