From 39fabaddfd770f7d92a5aabb0d0255d6fc97cd24 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 12 Sep 2018 14:30:28 +0200 Subject: GPU: Remove residue of OpenSubdiv Was done more like a hack on top of old drawing pipeline. Should be re-implemented to fit new draw manager closer. --- source/blender/gpu/intern/gpu_material.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source/blender/gpu/intern/gpu_material.c') diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c index 3f5d3282f0c..0d37dff3f9e 100644 --- a/source/blender/gpu/intern/gpu_material.c +++ b/source/blender/gpu/intern/gpu_material.c @@ -58,10 +58,6 @@ #include "gpu_codegen.h" -#ifdef WITH_OPENSUBDIV -# include "BKE_DerivedMesh.h" -#endif - /* Structs */ #define MAX_COLOR_BAND 128 @@ -108,8 +104,6 @@ struct GPUMaterial { int objectinfoloc; - bool is_opensubdiv; - /* XXX: Should be in Material. But it depends on the output node * used and since the output selection is difference for GPUMaterial... */ -- cgit v1.2.3