Ver código fonte

Merge branch 'master' of github.com:bkaradzic/bgfx

Branimir Karadžić 11 anos atrás
pai
commit
9e877bfb00
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      examples/common/imgui/imgui.cpp

+ 2 - 2
examples/common/imgui/imgui.cpp

@@ -2023,7 +2023,7 @@ struct Imgui
 			xx = -borderSize;
 			xx = -borderSize;
 			yy = -1;
 			yy = -1;
 			width = 2*borderSize+1;
 			width = 2*borderSize+1;
-			height = m_viewHeight;
+			height = m_viewHeight+1;
 			triX = 0;
 			triX = 0;
 			triY = (m_viewHeight-triSize)/2;
 			triY = (m_viewHeight-triSize)/2;
 			orientation = _checked ? TriangleOrientation::Left : TriangleOrientation::Right;
 			orientation = _checked ? TriangleOrientation::Left : TriangleOrientation::Right;
@@ -2033,7 +2033,7 @@ struct Imgui
 			xx = m_viewWidth - borderSize;
 			xx = m_viewWidth - borderSize;
 			yy = -1;
 			yy = -1;
 			width = 2*borderSize+1;
 			width = 2*borderSize+1;
-			height = m_viewHeight;
+			height = m_viewHeight+1;
 			triX = m_viewWidth - triSize - 2;
 			triX = m_viewWidth - triSize - 2;
 			triY = (m_viewHeight-width)/2;
 			triY = (m_viewHeight-width)/2;
 			orientation = _checked ? TriangleOrientation::Right : TriangleOrientation::Left;
 			orientation = _checked ? TriangleOrientation::Right : TriangleOrientation::Left;