From c81af7752984f79f5853ac71ca9c5c61a09a512e Mon Sep 17 00:00:00 2001 From: quou Date: Sat, 8 Feb 2025 21:52:45 +1100 Subject: create the HDR target the same size as the swapchain, not the app --- c2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c2.cpp b/c2.cpp index 73927ad..0beec9d 100644 --- a/c2.cpp +++ b/c2.cpp @@ -1015,8 +1015,8 @@ struct C2 : public App { "HDR target", texture_format_rgba16f, Texture_Flags::sampleable | Texture_Flags::colour_target, - w, - h, + dev->swap_w(), + dev->swap_h(), 1, 1, 1, -- cgit v1.2.3-54-g00ecf