summaryrefslogtreecommitdiff
path: root/src/gui/sdlinput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/sdlinput.cpp')
-rw-r--r--src/gui/sdlinput.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp
index ffb90a883..b0ac7d613 100644
--- a/src/gui/sdlinput.cpp
+++ b/src/gui/sdlinput.cpp
@@ -103,7 +103,7 @@ bool SDLInput::isKeyQueueEmpty() const
return mKeyInputQueue.empty();
}
-KeyInput SDLInput::dequeueKeyInput2()
+KeyInput SDLInput::dequeueKeyInput()
{
if (mKeyInputQueue.empty())
return KeyInput();
@@ -132,19 +132,6 @@ MouseInput SDLInput::dequeueMouseInput()
return mouseInput;
}
-MouseInput SDLInput::dequeueMouseInput2()
-{
- MouseInput mouseInput;
-
- if (mMouseInputQueue.empty())
- return MouseInput();
-
- mouseInput = mMouseInputQueue.front();
- mMouseInputQueue.pop();
-
- return mouseInput;
-}
-
void SDLInput::pushInput(const SDL_Event &event)
{
KeyInput keyInput;