Fix a few issues reported by coverity scan.

This commit is contained in:
Brecht Van Lommel
2013-09-03 22:39:21 +00:00
parent b314209356
commit 60e5abe71f
16 changed files with 54 additions and 30 deletions

View File

@@ -110,6 +110,7 @@ SVMCompiler::SVMCompiler(ShaderManager *shader_manager_, ImageManager *image_man
max_stack_use = 0;
current_type = SHADER_TYPE_SURFACE;
current_shader = NULL;
current_graph = NULL;
background = false;
mix_weight_offset = SVM_STACK_INVALID;
use_multi_closure = use_multi_closure_;