Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-09-23 02:36:12 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-09-23 02:36:12 +0300
commit381a27490925675a00b54814032c0caf22cb4b4e (patch)
tree6b4a5e115640c96e6348ee8a9d4866e129de8a53 /source/blender/gpu
parent4031bc1478a730a742d83971c12b96b883ac5bfe (diff)
Cleanup: use braces
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_batch.c3
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);