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

SDL: Implement lockMouse() in the 2D graphics managers #2517

Merged
merged 1 commit into from Oct 13, 2020

Conversation

@ccawley2011
Copy link
Member

@ccawley2011 ccawley2011 commented Oct 13, 2020

This is needed by PR #2516.

bool SdlWindow::lockMouse(bool lock) {
#if SDL_VERSION_ATLEAST(2, 0, 0)
if (lock)
SDL_SetRelativeMouseMode(SDL_TRUE);

This comment has been minimized.

@aquadran

aquadran Oct 13, 2020
Member

this is needed, but breaks capture/break functionality

@aquadran aquadran merged commit 26cd7d4 into scummvm:master Oct 13, 2020
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
deepcode-ci-bot Well done, no issues found!
Details
@ccawley2011 ccawley2011 deleted the ccawley2011:lockMouse branch Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.