summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2025-02-13 23:38:40 +1100
committerquou <quou@disroot.org>2025-02-13 23:38:40 +1100
commit72cecafc458fef351f9cc4495a006b68ec223a13 (patch)
tree005920d7e178530fedc4784ee66881af48c317a9
parent2e4ecca19aadc09d5c3d927724f8004b6a0ff0b0 (diff)
remove unnecessary clear in c2.cpp
-rw-r--r--c2.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/c2.cpp b/c2.cpp
index 2832131..d5b262a 100644
--- a/c2.cpp
+++ b/c2.cpp
@@ -875,10 +875,6 @@ struct C2 : public App {
ctx.debug_pop();
pb.begin_rp();
- pb.rp_depth_target(dev->get_depth_target(), 1.0f);
- dev->get_ctx().submit(pb.build_rp());
-
- pb.begin_rp();
pb.rp_target(hdr_target, Clear_Mode::restore);
pb.rp_depth_target(dev->get_depth_target(), Clear_Mode::restore);
Render_Pass& sky_pass = pb.build_rp();