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

(cherry picked from commit 620e194727)
This commit is contained in:
bruvzg 2024-03-10 13:18:03 +02:00 committed by Rémi Verschelde
parent 7e80c69d49
commit 3797140b7d
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

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