Commit e4f787ec authored by Richard Gobeille's avatar Richard Gobeille

engine: disable SDL's automatic relative mouse input scaling that is applied...

engine: disable SDL's automatic relative mouse input scaling that is applied when the rendering output is scaled

See https://bugzilla.libsdl.org/show_bug.cgi?id=4811
parent 71f0c446
......@@ -428,6 +428,9 @@ void sdlayer_sethints()
#if defined SDL_HINT_AUDIO_RESAMPLING_MODE
SDL_SetHint(SDL_HINT_AUDIO_RESAMPLING_MODE, "3");
#endif
#if defined SDL_HINT_MOUSE_RELATIVE_SCALING
SDL_SetHint(SDL_HINT_MOUSE_RELATIVE_SCALING, "0");
#endif
}
#ifdef _WIN32
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment