From 20fd62e0beeacf8b2227309d15d4ce6db2b811f9 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Fri, 12 Jan 2018 16:56:38 +0500 Subject: There is no more latency in PUSH_EVENT, so DIRECT_EVENT_CALL can be replaced with PUSH_EVENT --- src/Render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Render.cpp') diff --git a/src/Render.cpp b/src/Render.cpp index c3fe137..b19b679 100644 --- a/src/Render.cpp +++ b/src/Render.cpp @@ -214,7 +214,7 @@ void Render::HandleEvents() { double deltaY = event.motion.yrel; deltaX *= sensetivity; deltaY *= sensetivity * -1; - DIRECT_EVENT_CALL("MouseMove", std::make_tuple(deltaX, deltaY)); + PUSH_EVENT("MouseMove", std::make_tuple(deltaX, deltaY)); } default: break; -- cgit v1.2.3