Cleanup: use braces (follow own style guide)

This commit is contained in:
Campbell Barton
2025-06-11 09:05:26 +00:00
parent afd778ec01
commit 07121d44ae
31 changed files with 172 additions and 106 deletions

View File

@@ -14,8 +14,9 @@ namespace blender::opensubdiv {
GPUPatchTable *GPUPatchTable::Create(PatchTable const *far_patch_table, void * /*deviceContext*/)
{
GPUPatchTable *instance = new GPUPatchTable();
if (instance->allocate(far_patch_table))
if (instance->allocate(far_patch_table)) {
return instance;
}
delete instance;
return nullptr;
}