You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug report was migrated from our old Bugzilla tracker.
Reported in version: HG 1.2 Reported for operating system, platform: All, All
Comments on the original bug report:
On 2015-04-09 01:54:41 +0000, wrote:
SDL_GL_SwapBuffers currently returns a void and does not set any errors.
This means an application cannot check if an error occurred. In some cases the application may want to bail out if it cannot swap buffers rather than loop not rendering anything to the screen.
This may not be relevant to all video targets as some may have errored elsewhere but this should be fairly simple to implement for eglSwapBuffers which returns a boolean. Everything else could just return success.
You may say that this should not occur but it certainly can in the case of EGL even after eglMakeCurrent has passed. This is most likely a driver bug but could also be due to context race conditions.
On 2016-10-08 00:08:54 +0000, Sam Lantinga wrote:
Makes sense. Would you like to create a patch to implement this?
On 2016-12-10 22:24:58 +0000, Philipp Wiesemann wrote:
It was implemented for SDL_GL_SwapWindow() to resolve bug 3513.
On 2016-12-11 02:35:10 +0000, wrote:
I was actually intending to refer to SDL_GL_SwapWindow got confused with old SDL and new SDL :)
On 2016-12-11 20:11:39 +0000, Sam Lantinga wrote:
This is a duplicate of bug 3513
*** This bug has been marked as a duplicate of bug 3513 ***
The text was updated successfully, but these errors were encountered:
This bug report was migrated from our old Bugzilla tracker.
Reported in version: HG 1.2
Reported for operating system, platform: All, All
Comments on the original bug report:
On 2015-04-09 01:54:41 +0000, wrote:
On 2016-10-08 00:08:54 +0000, Sam Lantinga wrote:
On 2016-12-10 22:24:58 +0000, Philipp Wiesemann wrote:
On 2016-12-11 02:35:10 +0000, wrote:
On 2016-12-11 20:11:39 +0000, Sam Lantinga wrote:
The text was updated successfully, but these errors were encountered: