put info in correct place

This commit is contained in:
Irlan
2018-04-12 15:53:33 -03:00
parent 52e15063ac
commit b015127ea8
2 changed files with 9 additions and 9 deletions

View File

@ -108,6 +108,15 @@ static void Run()
g_view->Command_PreDraw();
if (g_settings->pause)
{
g_draw->DrawString(b3Color_white, "*PAUSED*");
}
else
{
g_draw->DrawString(b3Color_white, "*PLAYING*");
}
if (g_settings->drawProfile)
{
const b3Array<ProfilerRecord>& records = g_profilerRecorder->GetRecords();

View File

@ -78,15 +78,6 @@ void Model::Command_Step()
Action_DefaultCamera();
}
if (m_settings.pause)
{
m_draw.DrawString(b3Color_white, "*PAUSED*");
}
else
{
m_draw.DrawString(b3Color_white, "*PLAYING*");
}
if (m_settings.drawGrid)
{
b3Color color(0.2f, 0.2f, 0.2f, 1.0f);