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

This commit is contained in:
Sam Lantinga committed 2016-12-11 12:01:44 -08:00
1 parent 6211668e9f
commit 8414c3d4ae
3 files changed
+9 -7

No files matched your search

+1 -1
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.