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.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/gpu/intern/gpu_shader.cc b/source/blender/gpu/intern/gpu_shader.cc
index 9b4fe1d06ca..21678548b13 100644
--- a/source/blender/gpu/intern/gpu_shader.cc
+++ b/source/blender/gpu/intern/gpu_shader.cc
@@ -196,9 +196,7 @@ Shader::Shader(const char *sh_name)
Shader::~Shader()
{
- if (interface) {
- delete interface;
- }
+ delete interface;
}
static void standard_defines(Vector<const char *> &sources)