From 72cecafc458fef351f9cc4495a006b68ec223a13 Mon Sep 17 00:00:00 2001 From: quou Date: Thu, 13 Feb 2025 23:38:40 +1100 Subject: remove unnecessary clear in c2.cpp --- c2.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/c2.cpp b/c2.cpp index 2832131..d5b262a 100644 --- a/c2.cpp +++ b/c2.cpp @@ -874,10 +874,6 @@ struct C2 : public App { ctx.debug_push("autism triangle"); 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); -- cgit v1.2.3-54-g00ecf