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:
Diffstat (limited to 'source/blender/render/intern/source/shadbuf.c')
-rw-r--r--source/blender/render/intern/source/shadbuf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/render/intern/source/shadbuf.c b/source/blender/render/intern/source/shadbuf.c
index 88d86d5bd43..0cd5c361499 100644
--- a/source/blender/render/intern/source/shadbuf.c
+++ b/source/blender/render/intern/source/shadbuf.c
@@ -978,8 +978,7 @@ static float readdeepvisibility(DeepSample *dsample, int tot, int z, int bias, f
/* tricky stuff here; we use ints which can overflow easily with bias values */
ds= dsample;
- for(a=0; a<tot && (z-bias > ds->z); a++, ds++)
- ;
+ for (a=0; a<tot && (z-bias > ds->z); a++, ds++) {}
if(a == tot) {
if(biast)