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

vsync option #4

Merged
merged 2 commits into from
Apr 2, 2024
Merged

vsync option #4

merged 2 commits into from
Apr 2, 2024

Conversation

AnotherSeawhite
Copy link
Owner

No description provided.

@github-actions github-actions bot added the [C++] label Apr 2, 2024
@AnotherSeawhite AnotherSeawhite marked this pull request as ready for review April 2, 2024 04:25
Comment on lines +2651 to +2655
#if defined(SDL_HINT_RENDER_VSYNC)
add( "VSYNC", graphics, translate_marker( "Use VSync" ),
translate_marker( "Enable vertical synchronization to prevent screen tearing. VSync can slow the game down a lot. Requires restart." ),
false, COPT_CURSES_HIDE
);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JSON & C++ formatters] reported by reviewdog 🐶

Suggested change
#if defined(SDL_HINT_RENDER_VSYNC)
add( "VSYNC", graphics, translate_marker( "Use VSync" ),
translate_marker( "Enable vertical synchronization to prevent screen tearing. VSync can slow the game down a lot. Requires restart." ),
false, COPT_CURSES_HIDE
);
#if defined(SDL_HINT_RENDER_VSYNC)
add( "VSYNC", graphics, translate_marker( "Use VSync" ),
translate_marker( "Enable vertical synchronization to prevent screen tearing. VSync can slow the game down a lot. Requires restart." ),
false, COPT_CURSES_HIDE
);

@AnotherSeawhite AnotherSeawhite merged commit d5d7b57 into vsync-fix Apr 2, 2024
11 of 12 checks passed
@AnotherSeawhite AnotherSeawhite deleted the vsync-fix-pr branch April 2, 2024 04:26
@AnotherSeawhite AnotherSeawhite restored the vsync-fix-pr branch April 2, 2024 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant