From 4a2a45dde3659418be419ee5773ec8ac7f6b08b1 Mon Sep 17 00:00:00 2001 From: assiduous Date: Mon, 27 Apr 2020 16:03:37 -0700 Subject: Updated Android native app to better handle orientation changes --- Imgui/src/ImGuiImplDiligent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Imgui/src/ImGuiImplDiligent.cpp') 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) { -- cgit v1.2.3