mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-17 21:01:15 +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];
|
char buffer[32];
|
||||||
MxFloat time = (Timer()->GetTime() - m_unk0x54c) / 1000.0f;
|
MxFloat time = (Timer()->GetTime() - m_unk0x54c) / 1000.0f;
|
||||||
MxS32 nb = sprintf(buffer, "%.02f", m_unk0x550 / time);
|
MxS32 nb = sprintf(buffer, "%.02f", m_unk0x550 / time);
|
||||||
|
SDL_Log("%.02f", m_unk0x550 / time);
|
||||||
m_unk0x54c = Timer()->GetTime();
|
m_unk0x54c = Timer()->GetTime();
|
||||||
|
|
||||||
DDSURFACEDESC surfaceDesc;
|
DDSURFACEDESC surfaceDesc;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user