Skip to content

Commit

Permalink
Merge pull request #81333 from dalexeev/fix-rd-pcbs-attachments-setter
Browse files Browse the repository at this point in the history
Fix `RDPipelineColorBlendState.attachments` setter
  • Loading branch information
akien-mga committed Sep 7, 2023
2 parents d013fc3 + f2f0375 commit 698df41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/rendering/rendering_device_binds.h
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ class RDPipelineColorBlendState : public RefCounted {
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 {
Expand Down

0 comments on commit 698df41

Please sign in to comment.