From 9eba777ac99d8df1edfa454a98e052920266eaf2 Mon Sep 17 00:00:00 2001 From: averne Date: Fri, 12 Aug 2022 12:23:36 +0200 Subject: [PATCH] Fix DkScissor calculation --- source/switch/imgui_deko3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/switch/imgui_deko3d.cpp b/source/switch/imgui_deko3d.cpp index f5d39bd..8946cb8 100644 --- a/source/switch/imgui_deko3d.cpp +++ b/source/switch/imgui_deko3d.cpp @@ -484,7 +484,7 @@ void imgui::deko3d::render (dk::UniqueDevice &device_, if (clip.z > width) clip.z = width; if (clip.w > height) - clip.z = height; + clip.w = height; // apply scissor boundaries cmdBuf_.setScissors (