Removed the use of static that could cause problems on res switch

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5936 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2010-09-09 00:49:16 +00:00
parent 2d4f2ad32f
commit 93d412aec8

View File

@@ -184,8 +184,8 @@ void GrandPrixLose::onUpdate(float dt, irr::video::IVideoDriver* driver)
m_camera->updateAbsolutePosition();
// ---- title
static const int w = irr_driver->getFrameSize().Width;
static const int h = irr_driver->getFrameSize().Height;
const int w = irr_driver->getFrameSize().Width;
const int h = irr_driver->getFrameSize().Height;
const irr::video::SColor color(255, 255, 255, 255);
static int test_y = 0;