diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-23 02:36:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-23 02:36:12 +0300 |
commit | 381a27490925675a00b54814032c0caf22cb4b4e (patch) | |
tree | 6b4a5e115640c96e6348ee8a9d4866e129de8a53 /source/blender/gpu/intern/gpu_batch.c | |
parent | 4031bc1478a730a742d83971c12b96b883ac5bfe (diff) |
Cleanup: use braces
Diffstat (limited to 'source/blender/gpu/intern/gpu_batch.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_batch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_batch.c b/source/blender/gpu/intern/gpu_batch.c index 76459d7ad45..1c05e28bdb0 100644 --- a/source/blender/gpu/intern/gpu_batch.c +++ b/source/blender/gpu/intern/gpu_batch.c @@ -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); |