Fixed compile warning
diff --git a/src/render/opengles2/SDL_render_gles2.c b/src/render/opengles2/SDL_render_gles2.c
index b548a69..bf53556 100644
--- a/src/render/opengles2/SDL_render_gles2.c
+++ b/src/render/opengles2/SDL_render_gles2.c
@@ -290,7 +290,7 @@ static int GLES2_LoadFunctions(GLES2_DriverContext * data)
#endif
#if defined __SDL_NOGETPROCADDR__
-#define SDL_PROC(ret,func,params) data->func=func;
+#define SDL_PROC(ret,func,params) *(void**)&data->func=func;
#else
#define SDL_PROC(ret,func,params) \
do { \