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
It would be nice if there was some kind of explanation how to check if Vsync has actually been set
because, looking at the code, it appears that the function can only fail if the renderer check fails, or the int vsync argument is anything other than 0 or 1.
There appears to be no feedback on whether the vsync actually succeeded.
Is one supposed to check if (renderer->wanted_vsync || renderer->simulate_vsync ) ?
The text was updated successfully, but these errors were encountered:
No, it's guaranteed to work except on OpenGL, and if it fails in that case we'll simulate vsync, so it always succeeds from the perspective of the application.
It would be nice if there was some kind of explanation how to check if Vsync has actually been set
because, looking at the code, it appears that the function can only fail if the renderer check fails, or the
int vsync
argument is anything other than 0 or 1.There appears to be no feedback on whether the vsync actually succeeded.
Is one supposed to check
if (renderer->wanted_vsync || renderer->simulate_vsync )
?The text was updated successfully, but these errors were encountered: