From d021cbb5cfa7fb09ee109cf43b5c9a79771aa3b9 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Fri, 1 Mar 2019 09:58:07 -0500 Subject: [PATCH] USE_SDL is no longer used --- src/gui/interface/Mouse.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/gui/interface/Mouse.h b/src/gui/interface/Mouse.h index ffa7085f3..d89efb0b6 100644 --- a/src/gui/interface/Mouse.h +++ b/src/gui/interface/Mouse.h @@ -1,24 +1,6 @@ -#ifdef USE_SDL - #ifdef SDL_INC #include "SDL2/SDL_mouse.h" #else #include "SDL_mouse.h" #endif - -#else // USE_SDL - -/* These are used for the renderer, which doesn't include the rest of SDL and only this file - * It still needs fake SDL_BUTTON_* constants to compile - */ - -#define SDL_BUTTON(X) (1 << ((X)-1)) -#define SDL_BUTTON_LEFT 1 -#define SDL_BUTTON_MIDDLE 2 -#define SDL_BUTTON_RIGHT 3 -#define SDL_BUTTON_WHEELUP 4 -#define SDL_BUTTON_WHEELDOWN 5 - -#endif // USE_SDL -