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
|
@ -27,7 +27,7 @@ extern int UIKit_GL_MakeCurrent(_THIS, SDL_Window * window,
|
|||
SDL_GLContext context);
|
||||
extern void UIKit_GL_GetDrawableSize(_THIS, SDL_Window * window,
|
||||
int * w, int * h);
|
||||
extern void UIKit_GL_SwapWindow(_THIS, SDL_Window * window);
|
||||
extern int UIKit_GL_SwapWindow(_THIS, SDL_Window * window);
|
||||
extern SDL_GLContext UIKit_GL_CreateContext(_THIS, SDL_Window * window);
|
||||
extern void UIKit_GL_DeleteContext(_THIS, SDL_GLContext context);
|
||||
extern void *UIKit_GL_GetProcAddress(_THIS, const char *proc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue