Cleanup: make format

This commit is contained in:
Weizhen Huang
2024-12-10 17:51:29 +01:00
parent 585cd07899
commit 0b954d7777

View File

@@ -1204,7 +1204,7 @@ bool MTLFrameBuffer::remove_color_attachment(uint slot)
{
BLI_assert(this);
BLI_assert(slot >= 0 && slot < this->get_attachment_limit());
set_color_attachment_bit(GPU_FB_COLOR_ATTACHMENT0 + int(slot) , false);
set_color_attachment_bit(GPU_FB_COLOR_ATTACHMENT0 + int(slot), false);
if (this->has_attachment_at_slot(slot)) {
colour_attachment_count_ -= (mtl_color_attachments_[slot].used) ? 1 : 0;