From 6c8d5774fcb1cbaab5f00dfdfc7475e1b0de7d84 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 15 Sep 2006 23:48:15 +0000 Subject: [PATCH] remove old SDL stuff --- stepmania/src/StepMania.cpp | 8 -------- stepmania/src/arch/arch_default.h | 7 +------ 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index c8b0845038..6c80188cd4 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -24,10 +24,6 @@ #include "ProductInfo.h" -#if defined(HAVE_SDL) -#include "SDL_utils.h" -#endif - #include "Screen.h" #include "InputEventPlus.h" #include "ScreenDimensions.h" @@ -994,10 +990,6 @@ int main(int argc, char* argv[]) PREFSMAN->ReadPrefsFromDisk(); ApplyLogPreferences(); -#if defined(HAVE_SDL) - SetupSDL(); -#endif - /* This needs PREFSMAN. */ Dialog::Init(); diff --git a/stepmania/src/arch/arch_default.h b/stepmania/src/arch/arch_default.h index 48499fffce..a0d42e7351 100644 --- a/stepmania/src/arch/arch_default.h +++ b/stepmania/src/arch/arch_default.h @@ -3,10 +3,7 @@ #include "arch/arch_platform.h" -/* Define the default driver sets. It's okay to have in the sets drivers that - * might not be available, just as long as you don't mind if they're used when - * they are available. (For example, if we're using X11, we don't want - * InputHandler_SDL to be used.) */ +/* Define the default driver sets. */ /* InputHandler drivers */ #if defined (HAVE_XDK) @@ -17,8 +14,6 @@ #define DEFAULT_INPUT_DRIVER_LIST "X11,Joystick" #elif defined(MACOSX) # define DEFAULT_INPUT_DRIVER_LIST "Carbon" -#elif defined(HAVE_SDL) - #define DEFAULT_INPUT_DRIVER_LIST "SDL" #elif defined(LINUX) #define DEFAULT_INPUT_DRIVER_LIST "Joystick" #else