Skip to content

Commit

Permalink
Fixed bug where EGL function pointers wouldn't get saved in optimized…
Browse files Browse the repository at this point in the history
… gcc builds
  • Loading branch information
slouken committed Oct 15, 2014
1 parent 348cf3e commit 3b70f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/SDL_egl.c
Expand Up @@ -62,7 +62,7 @@
#endif /* SDL_VIDEO_DRIVER_RPI */

#define LOAD_FUNC(NAME) \
*((void**)&_this->egl_data->NAME) = SDL_LoadFunction(_this->egl_data->dll_handle, #NAME); \
_this->egl_data->NAME = SDL_LoadFunction(_this->egl_data->dll_handle, #NAME); \
if (!_this->egl_data->NAME) \
{ \
return SDL_SetError("Could not retrieve EGL function " #NAME); \
Expand Down

0 comments on commit 3b70f65

Please sign in to comment.