[Windows] Set current driver when ANGLE init fails.
(cherry picked from commit b9554859f62a189da846e2220b2bf4aa34b59b21)
This commit is contained in:
committed by
Thaddeus Crews
parent
34bc375705
commit
347e610524
@@ -7443,6 +7443,7 @@ DisplayServerWindows::DisplayServerWindows(const String &p_rendering_driver, Win
|
||||
WARN_PRINT("Your video card drivers seem not to support GLES3 / ANGLE or ANGLE dynamic libraries (libEGL.dll and libGLESv2.dll) are missing, switching to native OpenGL.");
|
||||
#endif
|
||||
rendering_driver = "opengl3";
|
||||
OS::get_singleton()->set_current_rendering_driver_name(rendering_driver);
|
||||
} else {
|
||||
r_error = ERR_UNAVAILABLE;
|
||||
ERR_FAIL_MSG("Could not initialize ANGLE OpenGL.");
|
||||
|
||||
Reference in New Issue
Block a user