author | Sam Lantinga <slouken@libsdl.org> |
Wed, 15 Oct 2014 09:13:36 -0700 | |
changeset 9162 | 69856cdc9da6 |
parent 9161 | 6e34073ef024 |
child 9163 | d05b5b2775ae |
--- a/src/video/SDL_egl.c Wed Oct 15 09:11:15 2014 -0700 +++ b/src/video/SDL_egl.c Wed Oct 15 09:13:36 2014 -0700 @@ -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); \