Skip to content

Commit

Permalink
Merge pull request #89351 from bruvzg/angle_fb_check
Browse files Browse the repository at this point in the history
[Windows] Disable fallback to ANGLE logic when compiled w/o ANGLE support.
  • Loading branch information
akien-mga committed Mar 10, 2024
2 parents 5af16b4 + 620e194 commit c973c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/windows/display_server_windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c973c9f

Please sign in to comment.