We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4563 - Renderer without SDL_RENDERER_PRESENTVSYNC by default?
Summary: Renderer without SDL_RENDERER_PRESENTVSYNC by default?
Status: NEW
Alias: None
Product: sdl12-compat
Classification: Unclassified
Component: everything (show other bugs)
Version: unspecified
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-22 21:23 UTC by Dario
Modified: 2019-03-22 21:26 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dario 2019-03-22 21:23:53 UTC
In SDL_SetVideoMode, the SDL20_CreateRenderer for non-OpenGL windows uses the SDL_RENDER_PRESENTVSYNC by default.

This limits the FPS of a game to my monitor refresh rate, which does not happen with SDL 1.2

According to https://discourse.libsdl.org/t/vsync/8855 VSYNC was not enabled by default on SDL 1.2.