summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/common/imgui/imgui.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-02-28 07:52:28 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-02-28 07:52:28 +0100
commitabb3442fe62fe2ee81b35b7f98ca371fae468bff (patch)
treea9ca70ec681fda082e47c294203d25581bbc1643 /3rdparty/bgfx/examples/common/imgui/imgui.cpp
parent2e294961b4e1a26640633a371264dd3438cc7ddb (diff)
update libs to latest (nw)
Diffstat (limited to '3rdparty/bgfx/examples/common/imgui/imgui.cpp')
-rw-r--r--3rdparty/bgfx/examples/common/imgui/imgui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/bgfx/examples/common/imgui/imgui.cpp b/3rdparty/bgfx/examples/common/imgui/imgui.cpp
index 9e8039d3958..7fa19965b07 100644
--- a/3rdparty/bgfx/examples/common/imgui/imgui.cpp
+++ b/3rdparty/bgfx/examples/common/imgui/imgui.cpp
@@ -387,7 +387,7 @@ struct Imgui
, m_textureHeight(512)
, m_halfTexel(0.0f)
, m_nvg(NULL)
- , m_view(31)
+ , m_view(255)
, m_viewWidth(0)
, m_viewHeight(0)
, m_currentFontIdx(0)
@@ -2023,7 +2023,7 @@ struct Imgui
xx = -borderSize;
yy = -1;
width = 2*borderSize+1;
- height = m_viewHeight;
+ height = m_viewHeight+1;
triX = 0;
triY = (m_viewHeight-triSize)/2;
orientation = _checked ? TriangleOrientation::Left : TriangleOrientation::Right;
@@ -2033,7 +2033,7 @@ struct Imgui
xx = m_viewWidth - borderSize;
yy = -1;
width = 2*borderSize+1;
- height = m_viewHeight;
+ height = m_viewHeight+1;
triX = m_viewWidth - triSize - 2;
triY = (m_viewHeight-width)/2;
orientation = _checked ? TriangleOrientation::Right : TriangleOrientation::Left;