2
0
Эх сурвалжийг харах

Fix `RDPipelineColorBlendState.attachments` setter

Danil Alexeev 2 жил өмнө
parent
commit
f2f0375e10

+ 1 - 1
servers/rendering/rendering_device_binds.h

@@ -696,7 +696,7 @@ public:
 	RD_SETGET(Color, blend_constant)
 
 	void set_attachments(const TypedArray<RDPipelineColorBlendStateAttachment> &p_attachments) {
-		attachments.push_back(p_attachments);
+		attachments = p_attachments;
 	}
 
 	TypedArray<RDPipelineColorBlendStateAttachment> get_attachments() const {