Mesh: Lines index buffer creation improvement #120720

Merged
Hans Goudey merged 66 commits from HooglyBoogly/blender:mesh-extract-lines-fix into main 2024-04-30 15:55:01 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit e02819727e - Show all commits

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;
}