summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/InputCommon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/InputCommon/Src/InputCommon.cpp')
-rw-r--r--Source/Core/InputCommon/Src/InputCommon.cpp22
1 files changed, 9 insertions, 13 deletions
diff --git a/Source/Core/InputCommon/Src/InputCommon.cpp b/Source/Core/InputCommon/Src/InputCommon.cpp
index 9d1c1910d3..2d2188477d 100644
--- a/Source/Core/InputCommon/Src/InputCommon.cpp
+++ b/Source/Core/InputCommon/Src/InputCommon.cpp
@@ -4,17 +4,13 @@ EventHandler *eventHandler = NULL;
namespace InputCommon
{
- void Init()
- {
-#if defined GLTEST && GLTEST
- // init the event handler
- eventHandler = new EventHandler();
-#endif
- }
-
- void Shutdown()
- {
- if (eventHandler)
- delete eventHandler;
- }
+ void Init() {
+ // init the event handler
+ eventHandler = new EventHandler();
+ }
+
+ void Shutdown() {
+ if (eventHandler)
+ delete eventHandler;
+ }
}