Disable mouse warping after ending relative mode
This commit is contained in:
@@ -393,7 +393,10 @@ public:
|
||||
LOG(Error, "Failed to set mouse relative mode: {0}", String(SDL_GetError()));
|
||||
|
||||
if (!relativeMode)
|
||||
SetMousePosition(oldPosition);
|
||||
{
|
||||
//SDL_SyncWindow(static_cast<SDLWindow*>(window)->_window);
|
||||
//SetMousePosition(oldPosition);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user