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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user