Fix: Additional macOS metal build error

This commit is contained in:
Hans Goudey
2024-03-24 12:37:36 -04:00
parent e201b5e553
commit aa87b747c5

View File

@@ -488,7 +488,7 @@ bool MTLShader::transform_feedback_enable(blender::gpu::VertBuf *buf)
BLI_assert(buf);
transform_feedback_active_ = true;
transform_feedback_vertbuf_ = buf;
BLI_assert(static_cast<MTLVertBuf *>(unwrap(transform_feedback_vertbuf_))->get_usage_type() ==
BLI_assert(static_cast<MTLVertBuf *>(transform_feedback_vertbuf_)->get_usage_type() ==
GPU_USAGE_DEVICE_ONLY);
return true;
}