1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 03:12:36 +01:00

Add timescale debug info

This commit is contained in:
Filip Gawin 2018-07-23 21:12:04 +02:00 committed by Daniel Evans
parent 3add481e32
commit cfb0016e46

View File

@ -659,7 +659,8 @@ void RWGame::renderDebugStats(float time) {
<< "Draws/Culls/Textures/Buffers: " << lastDraws << "/"
<< renderer.getCulledCount() << "/"
<< renderer.getRenderer()->getTextureCount() << "/"
<< renderer.getRenderer()->getBufferCount() << "\n";
<< renderer.getRenderer()->getBufferCount() << "\n"
<< "Timescale: " << world->state->basic.timeScale;
TextRenderer::TextInfo ti;
ti.text = GameStringUtil::fromString(ss.str());