Skip to content

Enable VS-Sync by default - #311

Open
PaperPrototype wants to merge 1 commit into
ProwlEngine:mainfrom
PaperPrototype:enabled-vsync-by-default
Open

Enable VS-Sync by default#311
PaperPrototype wants to merge 1 commit into
ProwlEngine:mainfrom
PaperPrototype:enabled-vsync-by-default

Conversation

@PaperPrototype

Copy link
Copy Markdown
Contributor

keep my PC from catching on fire

@michaelsakharov

Copy link
Copy Markdown
Contributor

We need a proper ingame API to control this and application target framerate. And we also need the Editor to relinquish control to game code in playmode. So if a game sets application.TargetFramerate = 30; it locks to 30, then exiting playmode should return to editor control. same with VSync, the game controls VSync when in playmode. That way if the editor locks to VSync on and TargetFramerate at like 60 or something, entering playmode disabled VSync and sets TargetFramerate to 0 (unlimited) by default. so the game gets a default state and can control it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants