Skip to content

Commit

Permalink
Fixed SDL_GL_SetSwapInterval() returning success on two unsupported p…
Browse files Browse the repository at this point in the history
…latforms.
  • Loading branch information
philippwiesemann committed Jun 4, 2017
1 parent 2113208 commit 248410d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/video/haiku/SDL_bopengl.cc
Expand Up @@ -116,7 +116,7 @@ void BE_GL_DeleteContext(_THIS, SDL_GLContext context) {

int BE_GL_SetSwapInterval(_THIS, int interval) {
/* TODO: Implement this, if necessary? */
return 0;
return SDL_Unsupported();
}

int BE_GL_GetSwapInterval(_THIS) {
Expand Down
2 changes: 1 addition & 1 deletion src/video/nacl/SDL_naclopengles.c
Expand Up @@ -141,7 +141,7 @@ int
NACL_GLES_SetSwapInterval(_THIS, int interval)
{
/* STUB */
return 0;
return SDL_Unsupported();
}

int
Expand Down

0 comments on commit 248410d

Please sign in to comment.