Fix RDPipelineColorBlendState.attachments setter

This commit is contained in:
Danil Alexeev 2023-09-05 12:54:45 +03:00
parent 75de1ca768
commit f2f0375e10
No known key found for this signature in database
GPG key ID: 124453E157DA8DC7

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 {