Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-09-21 09:38:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-09-21 09:38:28 +0400
commite11cd5a962803747ce3c0bddaef73a47d8938b63 (patch)
treefc0f4390ca230f0a567e0ce3429026a99632a08f /source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp
parent2064f5542ae8edf0c52bcc104f10696f5b6e3659 (diff)
game engine now compiles with SDL disabled. CDROM and Joystick wont function in this case
Diffstat (limited to 'source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp')
-rw-r--r--source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp b/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp
index 1e064f55397..0e2078265c9 100644
--- a/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp
+++ b/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp
@@ -29,7 +29,7 @@
#include "SCA_JoystickPrivate.h"
-
+#ifndef DISABLE_SDL
void SCA_Joystick::OnAxisMotion(SDL_Event* sdl_event)
{
pFillAxes();
@@ -102,3 +102,4 @@ void SCA_Joystick::HandleEvents(void)
}
}
}
+#endif