Skip to content

Commit 65dfdce

Browse files
zturtlemanicculus
authored andcommitted
win32: Set error for SDL_GL_GetSwapInterval()
(cherry picked from commit 54de246)
1 parent 3a5d0ba commit 65dfdce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/video/windows/SDL_windowsopengl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ bool WIN_GL_GetSwapInterval(SDL_VideoDevice *_this, int *interval)
910910
*interval = _this->gl_data->wglGetSwapIntervalEXT();
911911
return true;
912912
} else {
913-
return false;
913+
return SDL_Unsupported();
914914
}
915915
}
916916

0 commit comments

Comments
 (0)