Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed low framerate on AMD cards #550

Merged
merged 1 commit into from
Mar 16, 2019
Merged

Conversation

oomek
Copy link
Collaborator

@oomek oomek commented Mar 16, 2019

On AMD cards windowed modes have decreased framerate by half caused by DwmFlush and OGL Vsync doing double wait.
As a fix in window modes other than fullscreen we disable vsync and let dwmapi to handle waiting.

When in windowed mode we disable vsync and let dwmapi to handle waiting.
@oomek oomek self-assigned this Mar 16, 2019
@mickelson mickelson merged commit 3104a63 into mickelson:master Mar 16, 2019
@oomek oomek deleted the fix-amd-low-fps branch April 17, 2019 21:48
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