mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Some tweaks to profiler2:
* separate the HTTP profiling server from the on-screen profiler * allow shutting down the HTTP profiler * print messages when enabling/disabling HTTP and GPU profilers Patch by kingbasil, fixes #1862 This was SVN commit r15723.
This commit is contained in:
+2
-3
@@ -161,10 +161,9 @@ static InReaction MainInputHandler(const SDL_Event_* ev)
|
||||
#endif
|
||||
return IN_HANDLED;
|
||||
}
|
||||
else if (hotkey == "profile2.enable")
|
||||
else if (hotkey == "profile2.toggle")
|
||||
{
|
||||
g_Profiler2.EnableGPU();
|
||||
g_Profiler2.EnableHTTP();
|
||||
g_Profiler2.Toggle();
|
||||
return IN_HANDLED;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user