Skip to content

Commit

Permalink
Fixes #2519, clear error if using the default library path for EGL su…
Browse files Browse the repository at this point in the history
…cceeds.
  • Loading branch information
gabomdq committed May 10, 2014
1 parent f565d81 commit 536dd01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/video/SDL_egl.c
Expand Up @@ -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;
Expand Down

0 comments on commit 536dd01

Please sign in to comment.