From 536dd01307985bf992f552aa6e526242d249e862 Mon Sep 17 00:00:00 2001 From: Gabriel Jacobo Date: Sat, 10 May 2014 16:13:22 -0300 Subject: [PATCH] Fixes #2519, clear error if using the default library path for EGL succeeds. --- src/video/SDL_egl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video/SDL_egl.c b/src/video/SDL_egl.c index a95b73b8825cf..7f90cdbd18114 100644 --- a/src/video/SDL_egl.c +++ b/src/video/SDL_egl.c @@ -201,6 +201,7 @@ SDL_EGL_LoadLibrary(_THIS, const char *egl_path, NativeDisplayType native_displa if (dll_handle == NULL) { return SDL_SetError("Could not load EGL library"); } + SDL_ClearError(); } _this->egl_data->dll_handle = dll_handle;