diff options
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 |