Made FPS counter easier to read, added F2 shortcut to toggle it

This commit is contained in:
Souryo 2014-06-25 17:34:46 -04:00
parent 2590617708
commit 37f1d94cff
3 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

@ -308,6 +308,7 @@ namespace NES
//Draw FPS counter
if(CheckFlag(UIFlags::ShowFPS)) {
_font->DrawString(_spriteBatch.get(), (wstring(L"FPS: ") + std::to_wstring(Console::GetFPS())).c_str(), XMFLOAT2(256 * 4 - 149, 13), Colors::Black, 0.0f, XMFLOAT2(0, 0), 1.0f);
_font->DrawString(_spriteBatch.get(), (wstring(L"FPS: ") + std::to_wstring(Console::GetFPS())).c_str(), XMFLOAT2(256 * 4 - 150, 11), Colors::Yellow, 0.0f, XMFLOAT2(0, 0), 1.0f);
}

Binary file not shown.