_cleanup
This commit is contained in:
@@ -514,12 +514,6 @@ bool SDLInput::HandleEvent(SDLWindow* window, SDL_Event& event)
|
||||
else
|
||||
{
|
||||
const Float2 mousePos = window->ClientToScreen({ event.motion.x, event.motion.y });
|
||||
Int2 p;
|
||||
Float2 wp = window->ClientToScreen({0, 0});
|
||||
//SDL_GetWindowPosition(window->GetSDLWindow(), &p.X, &p.Y);
|
||||
p.X = wp.X;
|
||||
p.Y = wp.Y;
|
||||
//LOG(Info, "motion {},{}, mouse: {}, win: {}, winpos {},{}", event.motion.x, event.motion.y, mousePos, String(window->GetTitle()), p.X, p.Y);
|
||||
Input::Mouse->OnMouseMove(mousePos, window);
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user