Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

SDLInputBackend: Fix workaround for older SDL versions (thanks Eli2)

  • Loading branch information...
commit ab18a6b2cfa274a09e29f7bb49e4d2937cc997ae 1 parent 5bb698c
@dscharrer dscharrer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/input/SDLInputBackend.cpp
View
2  src/input/SDLInputBackend.cpp
@@ -24,7 +24,7 @@
#include "io/log/Logger.h"
#include "window/SDLWindow.h"
-#ifdef SDL_BUTTON_X1
+#ifndef SDL_BUTTON_X1
#define SDL_BUTTON_X1 6
#endif
#ifndef SDL_BUTTON_X2
Please sign in to comment.
Something went wrong with that request. Please try again.