diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2024-08-25 22:51:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-25 22:51:38 +0200 |
commit | 28a72fa4344befeae251d8e9b11b84acd601a244 (patch) | |
tree | 44598f78b0e34f111c3388f38d834a2405e5ddb5 /drivers | |
parent | 4cb6e9994a34e3c489bd635dcf5601511c8accd7 (diff) | |
parent | f8a6c0e8ab7d391fbfd796c65cfff26190654621 (diff) | |
download | redot-engine-28a72fa4344befeae251d8e9b11b84acd601a244.tar.gz |
Merge pull request #95934 from bruvzg/win_ang_fb
Enable fallback from ANGLE to native and improve ANGLE error messages.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/egl/egl_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/egl/egl_manager.cpp b/drivers/egl/egl_manager.cpp index 9c1d08331d..4477ba7752 100644 --- a/drivers/egl/egl_manager.cpp +++ b/drivers/egl/egl_manager.cpp @@ -357,7 +357,7 @@ Error EGLManager::initialize(void *p_native_display) { // have to temporarily get a proper display and reload EGL once again to // initialize everything else. if (!gladLoaderLoadEGL(EGL_NO_DISPLAY)) { - ERR_FAIL_V_MSG(ERR_UNAVAILABLE, "Can't load EGL."); + ERR_FAIL_V_MSG(ERR_UNAVAILABLE, "Can't load EGL dynamic library."); } EGLDisplay tmp_display = EGL_NO_DISPLAY; @@ -387,7 +387,7 @@ Error EGLManager::initialize(void *p_native_display) { int version = gladLoaderLoadEGL(tmp_display); if (!version) { eglTerminate(tmp_display); - ERR_FAIL_V_MSG(ERR_UNAVAILABLE, "Can't load EGL."); + ERR_FAIL_V_MSG(ERR_UNAVAILABLE, "Can't load EGL dynamic library."); } int major = GLAD_VERSION_MAJOR(version); |