Cleanup: Various clang-tidy warnings in python
Pull Request: https://projects.blender.org/blender/blender/pulls/133734
This commit is contained in:
@@ -240,7 +240,7 @@ static const char *pygpu_shader_check_compatibility(blender::gpu::Batch *batch)
|
||||
}
|
||||
|
||||
/* Check batch compatibility with shader. */
|
||||
for (auto vert : blender::Span(batch->verts, ARRAY_SIZE(batch->verts))) {
|
||||
for (auto *vert : blender::Span(batch->verts, ARRAY_SIZE(batch->verts))) {
|
||||
if (!vert) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user