Fixed ABI, don't change the return type of SDL_GL_SwapWindow()

This commit is contained in:
Sam Lantinga 2016-12-11 12:01:44 -08:00
parent cd2ede0038
commit 192fc4cdb5
3 changed files with 9 additions and 7 deletions

View file

@ -1195,7 +1195,7 @@ extern DECLSPEC int SDLCALL SDL_GL_GetSwapInterval(void);
* \brief Swap the OpenGL buffers for a window, if double-buffering is
* supported.
*/
extern DECLSPEC int SDLCALL SDL_GL_SwapWindow(SDL_Window * window);
extern DECLSPEC void SDLCALL SDL_GL_SwapWindow(SDL_Window * window);
/**
* \brief Delete an OpenGL context.