Fixed compile warning
authorSam Lantinga <slouken@libsdl.org>
Fri, 09 Feb 2018 16:31:57 -0800
changeset 1186054f9c701dc4b
parent 11859 7acd1b63cfc1
child 11861 bd4899381cbd
Fixed compile warning
src/render/opengles2/SDL_render_gles2.c
     1.1 --- a/src/render/opengles2/SDL_render_gles2.c	Fri Feb 09 16:01:11 2018 -0800
     1.2 +++ b/src/render/opengles2/SDL_render_gles2.c	Fri Feb 09 16:31:57 2018 -0800
     1.3 @@ -290,7 +290,7 @@
     1.4  #endif
     1.5  
     1.6  #if defined __SDL_NOGETPROCADDR__
     1.7 -#define SDL_PROC(ret,func,params) data->func=func;
     1.8 +#define SDL_PROC(ret,func,params) *(void**)&data->func=func;
     1.9  #else
    1.10  #define SDL_PROC(ret,func,params) \
    1.11      do { \