forked from 0ad/0ad
Removed FPS display
This was SVN commit r1121.
This commit is contained in:
parent
e29fd0deba
commit
959600b0d1
@ -474,22 +474,6 @@ static void Render()
|
||||
|
||||
oglCheck();
|
||||
|
||||
glColor4f(1.0f, 0.8f, 0.0f, 1.0f);
|
||||
|
||||
glLoadIdentity();
|
||||
glTranslatef(10.0f, 10.0f, 0.0f);
|
||||
|
||||
glScalef(1.0, -1.0, 1.0);
|
||||
|
||||
CStrW fps_display = translate(L"$num FPS") << fps;
|
||||
{
|
||||
CFont font("misc");
|
||||
font.Bind();
|
||||
glwprintf(fps_display);
|
||||
}
|
||||
|
||||
oglCheck();
|
||||
|
||||
{
|
||||
glLoadIdentity();
|
||||
|
||||
@ -1102,6 +1086,8 @@ int main(int argc, char* argv[])
|
||||
Frame();
|
||||
}
|
||||
|
||||
//_CrtMemDumpAllObjectsSince(NULL);
|
||||
|
||||
MICROLOG(L"Shutdown");
|
||||
Shutdown();
|
||||
#ifdef CUSTOM_EXCEPTION_HANDLER
|
||||
|
Loading…
Reference in New Issue
Block a user