From 31b1712e7ca38c432b498cdef1f225613bccde79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 9 Nov 2017 20:29:47 -0800 Subject: [PATCH] Cleanup. --- examples/common/example-glue.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/examples/common/example-glue.cpp b/examples/common/example-glue.cpp index 1c7bdc05e..61eba601b 100644 --- a/examples/common/example-glue.cpp +++ b/examples/common/example-glue.cpp @@ -246,11 +246,6 @@ void showExampleDialog(entry::AppI* _app, const char* _errorText) ImGui::Text("%3d", pos); ImGui::SameLine(64.0f); - if (encoderStats.cpuTimeEnd-encoderStats.cpuTimeBegin < 0) - { - DBG("x"); - } - const float maxWidth = 30.0f*scale; const float cpuMs = float( (encoderStats.cpuTimeEnd-encoderStats.cpuTimeBegin)*toCpuMs); const float cpuWidth = bx::fclamp(cpuMs*scale, 1.0f, maxWidth);