src/SDL.c
branchgsoc2008_nds
changeset 2678 3895761db26a
parent 2674 f1d07ba2e275
     1.1 --- a/src/SDL.c	Wed Jul 02 13:59:30 2008 +0000
     1.2 +++ b/src/SDL.c	Thu Jul 10 23:35:01 2008 +0000
     1.3 @@ -38,10 +38,6 @@
     1.4  extern int SDL_JoystickInit(void);
     1.5  extern void SDL_JoystickQuit(void);
     1.6  #endif
     1.7 -#if !SDL_TOUCHSCREEN_DISABLED
     1.8 -extern int SDL_TouchscreenInit(void);
     1.9 -extern void SDL_TouchscreenQuit(void);
    1.10 -#endif
    1.11  #if !SDL_CDROM_DISABLED
    1.12  extern int SDL_CDROMInit(void);
    1.13  extern void SDL_CDROMQuit(void);
    1.14 @@ -127,21 +123,6 @@
    1.15      }
    1.16  #endif
    1.17  
    1.18 -#if !SDL_TOUCHSCREEN_DISABLED
    1.19 -    /* Initialize the touchscreen subsystem */
    1.20 -    if ((flags & SDL_INIT_TOUCHSCREEN) && !(SDL_initialized & SDL_INIT_TOUCHSCREEN)) {
    1.21 -        if (SDL_TouchscreenInit() < 0) {
    1.22 -            return (-1);
    1.23 -        }
    1.24 -        SDL_initialized |= SDL_INIT_TOUCHSCREEN;
    1.25 -    }
    1.26 -#else
    1.27 -    if (flags & SDL_INIT_TOUCHSCREEN) {
    1.28 -        SDL_SetError("SDL not built with touchscreen support");
    1.29 -        return (-1);
    1.30 -    }
    1.31 -#endif
    1.32 -
    1.33  #if !SDL_CDROM_DISABLED
    1.34      /* Initialize the CD-ROM subsystem */
    1.35      if ((flags & SDL_INIT_CDROM) && !(SDL_initialized & SDL_INIT_CDROM)) {
    1.36 @@ -199,12 +180,6 @@
    1.37          SDL_initialized &= ~SDL_INIT_JOYSTICK;
    1.38      }
    1.39  #endif
    1.40 -#if !SDL_TOUCHSCREEN_DISABLED
    1.41 -    if ((flags & SDL_initialized & SDL_INIT_TOUCHSCREEN)) {
    1.42 -        SDL_TouchscreenQuit();
    1.43 -        SDL_initialized &= ~SDL_INIT_TOUCHSCREEN;
    1.44 -    }
    1.45 -#endif
    1.46  #if !SDL_TIMERS_DISABLED
    1.47      if ((flags & SDL_initialized & SDL_INIT_TIMER)) {
    1.48          SDL_TimerQuit();