From d536bb8c72efb57fa9d6793dc73f24d7f086fbff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 5 Aug 2014 19:46:40 -0700 Subject: [PATCH] Fixed compile error. --- examples/common/imgui/imgui.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/common/imgui/imgui.cpp b/examples/common/imgui/imgui.cpp index c26b011f..db7b8585 100644 --- a/examples/common/imgui/imgui.cpp +++ b/examples/common/imgui/imgui.cpp @@ -973,7 +973,7 @@ struct Imgui return res; } - void input(const char* _label, char* _str, uint32_t _len, bool _enabled) + void input(const char* _label, char* _str, uint32_t _len, bool /*_enabled*/) { m_widgetId++; const uint16_t id = (m_areaId << 8) | m_widgetId; @@ -1024,9 +1024,9 @@ struct Imgui xx += (labelWidth + 6); width -= (labelWidth + 6); } - const bool enabled = _enabled && isEnabled(m_areaId); - const bool over = enabled && inRect(xx, yy, width, height); - const bool res = inputLogic(id, over); +// const bool enabled = _enabled && isEnabled(m_areaId); +// const bool over = enabled && inRect(xx, yy, width, height); +// const bool res = inputLogic(id, over); drawRoundedRect( (float)xx , (float)yy