Cleanup: use braces

This commit is contained in:
2019-09-23 09:36:12 +10:00
parent 4031bc1478
commit 381a274909
3 changed files with 6 additions and 3 deletions

View File

@@ -836,8 +836,9 @@ void GPU_draw_list_submit(GPUDrawList *list)
{
GPUBatch *batch = list->batch;
if (list->cmd_len == 0)
if (list->cmd_len == 0) {
return;
}
BLI_assert(list->commands);
BLI_assert(batch->program_in_use);