summaryrefslogtreecommitdiff
path: root/c2.cpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2025-02-08 21:52:45 +1100
committerquou <quou@disroot.org>2025-02-08 21:52:45 +1100
commitc81af7752984f79f5853ac71ca9c5c61a09a512e (patch)
treed830664e10d6f36c26f240f7432a81d79a69619e /c2.cpp
parente473fa91ec575b0a180d766bc29554db8861508e (diff)
create the HDR target the same size as the swapchain, not the app
Diffstat (limited to 'c2.cpp')
-rw-r--r--c2.cpp4
1 files 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,