Fixed bug 3513 - SDL_GL_SwapWindow does not return error status
Return an error code from SDL_GL_SwapWindow(), like the other SDL APIs.
This commit is contained in:
parent
ae84e0ada2
commit
d77e4ac317
38 changed files with 125 additions and 86 deletions
|
@ -36,7 +36,7 @@ extern int BE_GL_MakeCurrent(_THIS, SDL_Window * window,
|
|||
SDL_GLContext context);
|
||||
extern int BE_GL_SetSwapInterval(_THIS, int interval); /* TODO */
|
||||
extern int BE_GL_GetSwapInterval(_THIS); /* TODO */
|
||||
extern void BE_GL_SwapWindow(_THIS, SDL_Window * window);
|
||||
extern int BE_GL_SwapWindow(_THIS, SDL_Window * window);
|
||||
extern SDL_GLContext BE_GL_CreateContext(_THIS, SDL_Window * window);
|
||||
extern void BE_GL_DeleteContext(_THIS, SDL_GLContext context);
|
||||
|
||||
|
@ -47,3 +47,5 @@ extern void BE_GL_RebootContexts(_THIS);
|
|||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue