mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixes #2519, clear error if using the default library path for EGL succeeds.
This commit is contained in:
parent
f565d81af7
commit
536dd01307
@ -201,6 +201,7 @@ SDL_EGL_LoadLibrary(_THIS, const char *egl_path, NativeDisplayType native_displa
|
|||||||
if (dll_handle == NULL) {
|
if (dll_handle == NULL) {
|
||||||
return SDL_SetError("Could not load EGL library");
|
return SDL_SetError("Could not load EGL library");
|
||||||
}
|
}
|
||||||
|
SDL_ClearError();
|
||||||
}
|
}
|
||||||
|
|
||||||
_this->egl_data->dll_handle = dll_handle;
|
_this->egl_data->dll_handle = dll_handle;
|
||||||
|
Loading…
Reference in New Issue
Block a user