Fixed X11 OpenGL ES build
authorSam Lantinga <slouken@libsdl.org>
Fri, 09 Dec 2016 05:04:18 -0800
changeset 106949834cdff44f9
parent 10693 8ba9886003b1
child 10695 e54fce44f677
Fixed X11 OpenGL ES build
src/video/x11/SDL_x11opengles.h
     1.1 --- a/src/video/x11/SDL_x11opengles.h	Fri Dec 09 05:00:35 2016 -0800
     1.2 +++ b/src/video/x11/SDL_x11opengles.h	Fri Dec 09 05:04:18 2016 -0800
     1.3 @@ -46,7 +46,7 @@
     1.4  extern int X11_GLES_LoadLibrary(_THIS, const char *path);
     1.5  extern XVisualInfo *X11_GLES_GetVisual(_THIS, Display * display, int screen);
     1.6  extern SDL_GLContext X11_GLES_CreateContext(_THIS, SDL_Window * window);
     1.7 -extern void X11_GLES_SwapWindow(_THIS, SDL_Window * window);
     1.8 +extern int X11_GLES_SwapWindow(_THIS, SDL_Window * window);
     1.9  extern int X11_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context);
    1.10  
    1.11  #endif /* SDL_VIDEO_OPENGL_EGL */