Fix RDPipelineColorBlendState.attachments setter

This commit is contained in:
Danil Alexeev
2023-09-05 12:54:45 +03:00
parent 75de1ca768
commit f2f0375e10

View File

@ -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 {