From 5c7d6b07e9068f57d6bad20bcca8813bf239dec0 Mon Sep 17 00:00:00 2001 From: Yehsam23 Date: Wed, 15 Mar 2023 11:09:20 +0800 Subject: [PATCH] Impore Metal Renderer Dirty Detection. (#1120) Remove setTargetFlags _dirty --- core/renderer/backend/RenderTarget.h | 1 - 1 file changed, 1 deletion(-) diff --git a/core/renderer/backend/RenderTarget.h b/core/renderer/backend/RenderTarget.h index 634b87e860..c86af6a768 100644 --- a/core/renderer/backend/RenderTarget.h +++ b/core/renderer/backend/RenderTarget.h @@ -38,7 +38,6 @@ public: TargetBufferFlags getTargetFlags() const { return _flags; } void setTargetFlags(TargetBufferFlags flags) { _flags = flags; - _dirty = true; } void setColorAttachment(ColorAttachment attachment)