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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-09-12 15:30:28 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-09-12 15:30:28 +0300
commit39fabaddfd770f7d92a5aabb0d0255d6fc97cd24 (patch)
treed44e6c37094e53287596f33ecf8423eec8e7c51b /source/blender/gpu/intern/gpu_material.c
parent721c691a2750d9eb005343a9d2e25fdac6ff1493 (diff)
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.
Diffstat (limited to 'source/blender/gpu/intern/gpu_material.c')
-rw-r--r--source/blender/gpu/intern/gpu_material.c6
1 files changed, 0 insertions, 6 deletions
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...
*/