From 2da96bb71be5b3543a087d5609099e4ee305265c Mon Sep 17 00:00:00 2001 From: auria Date: Wed, 31 Mar 2010 23:54:18 +0000 Subject: [PATCH] Minor change to resolution switch code, so that my work around what seems a bug in the mac version of irrlicht doesn't introduce issues where this bug doesn't manifest git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5108 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/graphics/irr_driver.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index 13308e6b2..a05930e94 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -765,6 +765,11 @@ void IrrDriver::update(float dt) if (m_res_switching) m_res_switching = false; else main_loop->abort(); } + else if (m_res_switching) + { + m_res_switching = false; + } + World *world = World::getWorld(); const bool inRace = world!=NULL;