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

Enable/Disable vsync as a flag to init #6

Open
thebracket opened this issue Nov 15, 2016 · 1 comment
Open

Enable/Disable vsync as a flag to init #6

thebracket opened this issue Nov 15, 2016 · 1 comment
Assignees

Comments

@thebracket
Copy link
Owner

Let the client determine whether or not they want vsync, via a flag. See rltk.cpp line 34.

@thebracket thebracket self-assigned this Nov 15, 2016
@Autsider666
Copy link

Autsider666 commented Nov 15, 2016

I've added a function to toggle framerate to rltk.cpp, maybe also useful for other people?
http://www.sfml-dev.org/documentation/2.0/classsf_1_1Window.php#af4322d315baf93405bf0d5087ad5e784

Edit: nvm, both features are easily done with get_window() so it's not really hard to do atm.

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

No branches or pull requests

2 participants