Bye bye EvilTux, Welcome Konqi\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -865,9 +865,6 @@ void IrrDriver::update(float dt)
|
||||
{
|
||||
// Either render the gui, or the global elements of the race gui.
|
||||
GUIEngine::render(dt);
|
||||
|
||||
// draw FPS if enabled
|
||||
if ( UserConfigParams::m_display_fps ) displayFPS();
|
||||
}
|
||||
|
||||
} // just to mark the begin/end scene block
|
||||
|
||||
@@ -67,7 +67,6 @@ private:
|
||||
void setAllMaterialFlags(scene::IAnimatedMesh *mesh) const;
|
||||
std::vector<VideoMode> m_modes;
|
||||
|
||||
void displayFPS();
|
||||
void setupViewports();
|
||||
video::E_DRIVER_TYPE getEngineDriverType(int index);
|
||||
|
||||
@@ -99,6 +98,7 @@ public:
|
||||
gui::IGUIEnvironment *getGUI() const { return m_gui_env; }
|
||||
//irr::gui::IGUIFont *getRaceFont() const { return m_race_font; }
|
||||
|
||||
void displayFPS();
|
||||
/** this is not really used to process events, it's only used to shut down irrLicht's
|
||||
* chatty logging until the event handler is ready to take the task
|
||||
*/
|
||||
|
||||
@@ -1008,6 +1008,9 @@ namespace GUIEngine
|
||||
}
|
||||
}
|
||||
|
||||
// draw FPS if enabled
|
||||
if ( UserConfigParams::m_display_fps ) irr_driver->displayFPS();
|
||||
|
||||
g_driver->enableMaterial2D(false);
|
||||
|
||||
} // render
|
||||
|
||||
Reference in New Issue
Block a user