diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-16 16:17:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-16 16:17:10 +0300 |
commit | ba9fac97eb0afba27e7d35bef34255c8ac436295 (patch) | |
tree | c17598a7df4f8a61a61cf53a753cfaa938aeb23e /src/render/graphics.h | |
parent | 28658bf384121e2522c95e9a2e1c1d7530f0fcd7 (diff) | |
download | ManaVerse-ba9fac97eb0afba27e7d35bef34255c8ac436295.tar.gz ManaVerse-ba9fac97eb0afba27e7d35bef34255c8ac436295.tar.bz2 ManaVerse-ba9fac97eb0afba27e7d35bef34255c8ac436295.tar.xz ManaVerse-ba9fac97eb0afba27e7d35bef34255c8ac436295.zip |
fix compilation with SDL2.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r-- | src/render/graphics.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h index aad3c2bed..12df83aef 100644 --- a/src/render/graphics.h +++ b/src/render/graphics.h @@ -32,6 +32,10 @@ #include <guichan/color.hpp> #include <guichan/graphics.hpp> +#ifdef USE_SDL2 +#include <SDL_render.h> +#endif + #include "localconsts.h" class Image; |