diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index 57899658b..f7fe35376 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -94,8 +94,8 @@ IrrDriver *irr_driver = NULL; GPUTimer m_perf_query[Q_LAST]; -const int MIN_SUPPORTED_HEIGHT = 600; -const int MIN_SUPPORTED_WIDTH = 800; +const int MIN_SUPPORTED_HEIGHT = 768; +const int MIN_SUPPORTED_WIDTH = 1024; // ---------------------------------------------------------------------------- /** The constructor creates the irrlicht device. It first creates a NULL @@ -324,7 +324,8 @@ void IrrDriver::createListOfVideoModes() { const int w = modes->getVideoModeResolution(i).Width; const int h = modes->getVideoModeResolution(i).Height; - if (h < MIN_SUPPORTED_HEIGHT || w < MIN_SUPPORTED_WIDTH) + if ( (h < MIN_SUPPORTED_HEIGHT || w < MIN_SUPPORTED_WIDTH) && + ( ! (h==600 && w==800 && UserConfigParams::m_artist_debug_mode) ) ) continue; VideoMode mode(w, h); diff --git a/src/states_screens/options_screen_video.cpp b/src/states_screens/options_screen_video.cpp index dcd77639b..dd3b4511b 100644 --- a/src/states_screens/options_screen_video.cpp +++ b/src/states_screens/options_screen_video.cpp @@ -219,11 +219,6 @@ void OptionsScreenVideo::init() // for some odd reason, irrlicht sometimes fails to report the good // old standard resolutions // those are always useful for windowed mode - // allow 800x600 only for debug mode -#ifdef DEBUG - bool found_800_600 = false; -#endif - bool found_1024_640 = false; bool found_1024_768 = false; for (int n=0; n