diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-22 20:58:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-22 20:58:13 +0300 |
commit | 8ad99cc3f4dd98f0b73a2ece9323f01099a81e80 (patch) | |
tree | 33115940e6efabec34efb71e0be6b6d7dfd7e4df /src/gui/sdlinput.cpp | |
parent | 04f47f060f94ec0e2dfc3cccf62cff167e0ecd68 (diff) | |
download | ManaVerse-8ad99cc3f4dd98f0b73a2ece9323f01099a81e80.tar.gz ManaVerse-8ad99cc3f4dd98f0b73a2ece9323f01099a81e80.tar.bz2 ManaVerse-8ad99cc3f4dd98f0b73a2ece9323f01099a81e80.tar.xz ManaVerse-8ad99cc3f4dd98f0b73a2ece9323f01099a81e80.zip |
Add profiler lines into some functions.
Diffstat (limited to 'src/gui/sdlinput.cpp')
-rw-r--r-- | src/gui/sdlinput.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp index 05518e9a6..eca3b5733 100644 --- a/src/gui/sdlinput.cpp +++ b/src/gui/sdlinput.cpp @@ -127,6 +127,7 @@ MouseInput SDLInput::dequeueMouseInput() void SDLInput::pushInput(const SDL_Event &event) { + BLOCK_START("SDLInput::pushInput") KeyInput keyInput; MouseInput mouseInput; @@ -286,6 +287,7 @@ void SDLInput::pushInput(const SDL_Event &event) default: break; } // end switch + BLOCK_END("SDLInput::pushInput") } void SDLInput::convertKeyEventToKey(const SDL_Event &event, KeyInput &keyInput) |