Cleanup.
This commit is contained in:
parent
d2d4c8aebb
commit
31b1712e7c
@ -246,11 +246,6 @@ void showExampleDialog(entry::AppI* _app, const char* _errorText)
|
|||||||
ImGui::Text("%3d", pos);
|
ImGui::Text("%3d", pos);
|
||||||
ImGui::SameLine(64.0f);
|
ImGui::SameLine(64.0f);
|
||||||
|
|
||||||
if (encoderStats.cpuTimeEnd-encoderStats.cpuTimeBegin < 0)
|
|
||||||
{
|
|
||||||
DBG("x");
|
|
||||||
}
|
|
||||||
|
|
||||||
const float maxWidth = 30.0f*scale;
|
const float maxWidth = 30.0f*scale;
|
||||||
const float cpuMs = float( (encoderStats.cpuTimeEnd-encoderStats.cpuTimeBegin)*toCpuMs);
|
const float cpuMs = float( (encoderStats.cpuTimeEnd-encoderStats.cpuTimeBegin)*toCpuMs);
|
||||||
const float cpuWidth = bx::fclamp(cpuMs*scale, 1.0f, maxWidth);
|
const float cpuWidth = bx::fclamp(cpuMs*scale, 1.0f, maxWidth);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user