Fix unused variable in release build in Metal backend
This commit is contained in:
committed by
Sergey Sharybin
parent
c872b6b930
commit
187998970a
@@ -1669,6 +1669,7 @@ MTLRenderPassDescriptor *MTLFrameBuffer::bake_render_pass_descriptor(bool load_c
|
||||
}
|
||||
}
|
||||
BLI_assert(colour_attachments == colour_attachment_count_);
|
||||
UNUSED_VARS_NDEBUG(colour_attachments);
|
||||
|
||||
/* Depth attachment. */
|
||||
if (mtl_depth_attachment_.used) {
|
||||
|
||||
Reference in New Issue
Block a user