diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-21 16:34:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:15 +0300 |
commit | 84189722a64c0794fbd918b4e6412908be2b7394 (patch) | |
tree | 7a9ed8e36889f2a6a5e49e98ae621fbd635bbb50 /src/sdlgraphics.cpp | |
parent | 31f6125fc7253e278bba5db46e08f370d92717c7 (diff) | |
download | plus-84189722a64c0794fbd918b4e6412908be2b7394.tar.gz plus-84189722a64c0794fbd918b4e6412908be2b7394.tar.bz2 plus-84189722a64c0794fbd918b4e6412908be2b7394.tar.xz plus-84189722a64c0794fbd918b4e6412908be2b7394.zip |
separate SDLGraphics and SDLImageHelper to 1.2 and 2.
add missing sdlshared.h
Diffstat (limited to 'src/sdlgraphics.cpp')
-rw-r--r-- | src/sdlgraphics.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sdlgraphics.cpp b/src/sdlgraphics.cpp index b78efeda6..6505ccdcf 100644 --- a/src/sdlgraphics.cpp +++ b/src/sdlgraphics.cpp @@ -20,6 +20,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifndef USE_SDL2 + #include "sdlgraphics.h" #include "main.h" @@ -1144,3 +1146,5 @@ bool SDLGraphics::setVideoMode(const int w, const int h, const int bpp, return videoInfo(); } + +#endif // USE_SDL2 |