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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-07-14 17:19:57 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-07-14 17:19:57 +0400
commit08dc76b1ecfbfea4e35b7225b2288c5956081327 (patch)
tree9058c5632181c4c109d1a94625b018376c662974 /intern/cycles/render/film.cpp
parent83a172e40c50c630b7bdd58b0b4a24a1f4284bfa (diff)
Fix a few issues found by coverity code scan in cycles code, nothing that caused
an actual bug as far as I can tell.
Diffstat (limited to 'intern/cycles/render/film.cpp')
-rw-r--r--intern/cycles/render/film.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/render/film.cpp b/intern/cycles/render/film.cpp
index 43aef755ba3..2a16b7b6c21 100644
--- a/intern/cycles/render/film.cpp
+++ b/intern/cycles/render/film.cpp
@@ -359,12 +359,15 @@ void Film::device_update(Device *device, DeviceScene *dscene, Scene *scene)
case PASS_BACKGROUND:
kfilm->pass_background = kfilm->pass_stride;
kfilm->use_light_pass = 1;
+ break;
case PASS_AO:
kfilm->pass_ao = kfilm->pass_stride;
kfilm->use_light_pass = 1;
+ break;
case PASS_SHADOW:
kfilm->pass_shadow = kfilm->pass_stride;
kfilm->use_light_pass = 1;
+ break;
case PASS_NONE:
break;
}