From a64da5d5ffec22dfdd769ad1e887ca4a19a94529 Mon Sep 17 00:00:00 2001 From: Themaister Date: Fri, 25 Apr 2014 23:40:20 +0200 Subject: [PATCH] We don't support SDL 2.0 anyways. --- input/sdl_input.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/input/sdl_input.c b/input/sdl_input.c index abdd79e8d8..b829488946 100644 --- a/input/sdl_input.c +++ b/input/sdl_input.c @@ -252,12 +252,8 @@ static void sdl_poll_mouse(sdl_input_t *sdl) sdl->mouse_l = SDL_BUTTON(SDL_BUTTON_LEFT) & btn ? 1 : 0; sdl->mouse_r = SDL_BUTTON(SDL_BUTTON_RIGHT) & btn ? 1 : 0; sdl->mouse_m = SDL_BUTTON(SDL_BUTTON_MIDDLE) & btn ? 1 : 0; -#if 0 - /* Only SDL 1.2 supports this, SDL 2.0 doesn't. Will need to create compliant code for both here based on SDL version detection - * at runtime */ sdl->mouse_wu = SDL_BUTTON(SDL_BUTTON_WHEELUP) & btn ? 1 : 0; sdl->mouse_wd = SDL_BUTTON(SDL_BUTTON_WHEELDOWN) & btn ? 1 : 0; -#endif } static void sdl_input_poll(void *data)