Merge branch 'master' of https://github.com/supertuxkart/stk-code
This commit is contained in:
commit
1aa4be85f3
@ -1457,15 +1457,15 @@ void IrrDriver::setAmbientLight(const video::SColor &light)
|
|||||||
*/
|
*/
|
||||||
void IrrDriver::displayFPS()
|
void IrrDriver::displayFPS()
|
||||||
{
|
{
|
||||||
gui::IGUIFont* font = GUIEngine::getFont();
|
gui::IGUIFont* font = GUIEngine::getSmallFont();
|
||||||
|
|
||||||
if(UserConfigParams::m_artist_debug_mode)
|
if(UserConfigParams::m_artist_debug_mode)
|
||||||
{
|
{
|
||||||
GL32_draw2DRectangle(video::SColor(150, 96, 74, 196),core::rect< s32 >(75,0,1100,50),NULL);
|
GL32_draw2DRectangle(video::SColor(150, 96, 74, 196),core::rect< s32 >(75,0,1100,40),NULL);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
GL32_draw2DRectangle(video::SColor(150, 96, 74, 196),core::rect< s32 >(75,0,900,50),NULL);
|
GL32_draw2DRectangle(video::SColor(150, 96, 74, 196),core::rect< s32 >(75,0,900,40),NULL);
|
||||||
}
|
}
|
||||||
// We will let pass some time to let things settle before trusting FPS counter
|
// We will let pass some time to let things settle before trusting FPS counter
|
||||||
// even if we also ignore fps = 1, which tends to happen in first checks
|
// even if we also ignore fps = 1, which tends to happen in first checks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user