diff --git a/Imgui/src/ImGuiDiligentRenderer.cpp b/Imgui/src/ImGuiDiligentRenderer.cpp index 9513d086..763b048e 100644 --- a/Imgui/src/ImGuiDiligentRenderer.cpp +++ b/Imgui/src/ImGuiDiligentRenderer.cpp @@ -205,7 +205,7 @@ struct PSInput { @vertex fn main(in: VSInput) -> PSInput { var out: PSInput; - out.pos = vec4(in.pos, 0.0, 1.0) * constants.ProjectionMatrix; + out.pos = constants.ProjectionMatrix * vec4(in.pos, 0.0, 1.0); out.col = in.col; out.uv = in.uv; return out;