1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-08-08 23:30:06 +00:00

Obsolete & remove BBGE_BUILD_SDL2. Closes #65.

This commit is contained in:
fgenesis 2022-04-05 05:20:01 +02:00
parent a04af25d88
commit e7594ecead
12 changed files with 41 additions and 39 deletions

View file

@ -3,8 +3,9 @@
#include <string>
#include <SDL_joystick.h>
#include <SDL_version.h>
#ifdef BBGE_BUILD_SDL2
#if SDL_VERSION_ATLEAST(2,0,0)
#include <SDL_gamecontroller.h>
#include <SDL_haptic.h>
#endif
@ -79,10 +80,10 @@ private:
std::string name;
std::string guid;
# ifdef BBGE_BUILD_SDL2
#if SDL_VERSION_ATLEAST(2,0,0)
SDL_GameController *sdl_controller;
SDL_Haptic *sdl_haptic;
# endif
#endif
};