Merge pull request #89351 from bruvzg/angle_fb_check

[Windows] Disable fallback to ANGLE logic when compiled w/o ANGLE support.
This commit is contained in:
Rémi Verschelde 2024-03-10 21:13:11 +01:00
commit c973c9ff8d
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

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