diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-08 14:52:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-08 14:52:18 +0300 |
commit | 5564df0ae67373da8ffb148fde95fdd9142c870b (patch) | |
tree | 59ae99399e3392922cacbd8dfd0136a8738ea8a2 /src/graphicsmanager.cpp | |
parent | 64535f9763c432bbb46be2769560bfd6a2202d72 (diff) | |
download | plus-5564df0ae67373da8ffb148fde95fdd9142c870b.tar.gz plus-5564df0ae67373da8ffb148fde95fdd9142c870b.tar.bz2 plus-5564df0ae67373da8ffb148fde95fdd9142c870b.tar.xz plus-5564df0ae67373da8ffb148fde95fdd9142c870b.zip |
fix code style.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index c6c36d15d..ace00663e 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -365,9 +365,13 @@ void GraphicsManager::setVideoMode() int width = res[0]; int height = res[1]; #elif defined __native_client__ - const SDL_VideoInfo* info = SDL_GetVideoInfo(); - int width = info->current_w; - int height = info->current_h; +#ifdef USE_SDL2 + // not implimented +#else + const SDL_VideoInfo* info = SDL_GetVideoInfo(); + int width = info->current_w; + int height = info->current_h; +#endif #else int width = config.getIntValue("screenwidth"); int height = config.getIntValue("screenheight"); |