mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-12 02:41:14 +00:00
Log FPS with SDL_Log for now (#232)
This commit is contained in:
parent
956e3f2765
commit
fcdcc15cc1
@ -473,6 +473,7 @@ void LegoVideoManager::DrawFPS()
|
||||
char buffer[32];
|
||||
MxFloat time = (Timer()->GetTime() - m_unk0x54c) / 1000.0f;
|
||||
MxS32 nb = sprintf(buffer, "%.02f", m_unk0x550 / time);
|
||||
SDL_Log("%.02f", m_unk0x550 / time);
|
||||
m_unk0x54c = Timer()->GetTime();
|
||||
|
||||
DDSURFACEDESC surfaceDesc;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user