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:
-rw-r--r--source/blender/gpu/intern/gpu_shader_private.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_private.hh b/source/blender/gpu/intern/gpu_shader_private.hh
index 06e0b99b276..76f053674b7 100644
--- a/source/blender/gpu/intern/gpu_shader_private.hh
+++ b/source/blender/gpu/intern/gpu_shader_private.hh
@@ -82,7 +82,7 @@ class Shader {
return name;
};
- UniformBuiltinStruct *m_shader_struct;
+ UniformBuiltinStruct *m_shader_struct = nullptr;
void set_shader_struct(GPUUniformBuiltinStructType struct_type)
{
m_shader_struct = new UniformBuiltinStruct(struct_type);