From b8f990b0b4ee9acf1178e18b183affd13d2500d3 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Fri, 28 Aug 2020 15:43:14 +0200 Subject: Revert "GPU: Fix Segmentation Fault Freeing Failed Shader" This reverts commit c28432680971f54ebe95cc953606a3a4d3bc5c7c. --- source/blender/gpu/intern/gpu_shader_private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/gpu/intern') diff --git a/source/blender/gpu/intern/gpu_shader_private.hh b/source/blender/gpu/intern/gpu_shader_private.hh index d56a7b2500b..22de1a0f59e 100644 --- a/source/blender/gpu/intern/gpu_shader_private.hh +++ b/source/blender/gpu/intern/gpu_shader_private.hh @@ -36,7 +36,7 @@ namespace gpu { class Shader { public: /** Uniform & attribute locations for shader. */ - ShaderInterface *interface = nullptr; + ShaderInterface *interface; protected: /** For debugging purpose. */ -- cgit v1.2.3