Commit d5f293a7774ea81547ad71518276a52c11fc2441

Sam Lantinga 2018-02-09T16:31:57

Fixed compile warning

1
2
3
4
5
6
7
8
9
10
11
12
13
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 { \