use SDL_SetRelativeMouseMode
This commit is contained in:
parent
9eec824c91
commit
b7306f2e91
|
@ -189,7 +189,7 @@ hg::Vec2 GetWindowContentScale(const Window *window) {
|
|||
|
||||
void ShowCursor() { SDL_ShowCursor(SDL_ENABLE); }
|
||||
void HideCursor() { SDL_ShowCursor(SDL_DISABLE); }
|
||||
void DisableCursor() { SDL_ShowCursor(SDL_DISABLE); }
|
||||
void DisableCursor() { SDL_SetRelativeMouseMode(SDL_ENABLE); }
|
||||
void WindowSystemShutdown() { }
|
||||
|
||||
} // namespace hg
|
||||
|
|
Loading…
Reference in New Issue