diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/engines/eevee_next/eevee_material.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee_next/eevee_material.cc b/source/blender/draw/engines/eevee_next/eevee_material.cc index a92f96e8c70..b63002df2e3 100644 --- a/source/blender/draw/engines/eevee_next/eevee_material.cc +++ b/source/blender/draw/engines/eevee_next/eevee_material.cc @@ -164,7 +164,7 @@ MaterialPass MaterialModule::material_pass_get(Object *ob, blender_mat->nodetree : default_surface_ntree_.nodetree_get(blender_mat); - MaterialPass matpass; + MaterialPass matpass = MaterialPass(); matpass.gpumat = inst_.shaders.material_shader_get( blender_mat, ntree, pipeline_type, geometry_type, true); |