summaryrefslogtreecommitdiffstats
path: root/Imgui/src/ImGuiImplDiligent.cpp
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-04-27 23:03:37 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-04-27 23:03:37 +0000
commit4a2a45dde3659418be419ee5773ec8ac7f6b08b1 (patch)
tree1df51367e1b6e36a32e5dc85af9deb14de9950a8 /Imgui/src/ImGuiImplDiligent.cpp
parentImgui: handling surface pretransform (diff)
downloadDiligentTools-4a2a45dde3659418be419ee5773ec8ac7f6b08b1.tar.gz
DiligentTools-4a2a45dde3659418be419ee5773ec8ac7f6b08b1.zip
Updated Android native app to better handle orientation changes
Diffstat (limited to 'Imgui/src/ImGuiImplDiligent.cpp')
-rw-r--r--Imgui/src/ImGuiImplDiligent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Imgui/src/ImGuiImplDiligent.cpp b/Imgui/src/ImGuiImplDiligent.cpp
index 1c1fe54..1db7de5 100644
--- a/Imgui/src/ImGuiImplDiligent.cpp
+++ b/Imgui/src/ImGuiImplDiligent.cpp
@@ -308,7 +308,7 @@ float4 ImGuiImplDiligent_Internal::TransformClipRect(const ImVec2& DisplaySize,
// 0__|_____|____________________ 0__|________|_______|/
// | | ' | | | ' |
// a.y | | ' | a.x | | ' |
- // _V_|_ _ _a____b | min_y _V_|_ _d'___a' |
+ // _V_|_ _ _a____b | _V_|_ _d'___a' |
// A | | | | | | | |
// DsplSz.y | | |____| | | |____| |
// -a.y | | d c | | c' b' |
@@ -402,7 +402,7 @@ float4 ImGuiImplDiligent_Internal::TransformClipRect(const ImVec2& DisplaySize,
UNEXPECTED("Unknown transform");
return rect;
}
-};
+}
void ImGuiImplDiligent_Internal::RenderDrawData(IDeviceContext* pCtx, ImDrawData* pDrawData)
{