-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
This bug report was migrated from our old Bugzilla tracker.
Reported in version: 2.0.4
Reported for operating system, platform: All, All
Comments on the original bug report:
On 2016-05-09 06:57:32 +0000, Intellectual Kitty wrote:
SDL_GL_SetSwapInterval allows -1 as a legitimate value in order to specify "late swap tearing." This means that SDL_GL_GetSwapInterval should also be able to return -1 as a legitimate value, but, unfortunately, -1 can also be returned in case of error. This makes it difficult or impossible to determine which case is which.
On 2016-05-11 21:11:15 +0000, Philipp Wiesemann wrote:
SDL_GL_GetSwapInterval() returns 0 in case of an error (the wiki was outdated).
However, this still does not solve the problem. :)
On 2016-05-12 17:07:57 +0000, Intellectual Kitty wrote:
No one uses a swap interval of 0 anymore. That's just so 2015. :)