diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-06-08 22:37:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-06-08 22:38:43 +0300 |
commit | 50653430745fa0b27d03082bce3b2888be2a5b6a (patch) | |
tree | 7b58cdf602f9b9e04debb7ad9661a264fab89855 /source/blender/gpu/intern/gpu_material.c | |
parent | d01499a45c104c1286451e6623446eab1b21fc0c (diff) |
Cleanup: GPU headers
Diffstat (limited to 'source/blender/gpu/intern/gpu_material.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_material.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c index 02f58ea6df2..f14b2e6e170 100644 --- a/source/blender/gpu/intern/gpu_material.c +++ b/source/blender/gpu/intern/gpu_material.c @@ -31,7 +31,6 @@ * Manages materials, lights and textures. */ - #include <math.h> #include <string.h> @@ -49,7 +48,6 @@ #include "BKE_anim.h" #include "BKE_colortools.h" -#include "BKE_DerivedMesh.h" #include "BKE_global.h" #include "BKE_image.h" #include "BKE_main.h" @@ -68,7 +66,9 @@ #include "gpu_codegen.h" -#include <string.h> +#ifdef WITH_OPENSUBDIV +# include "BKE_DerivedMesh.h" +#endif /* Structs */ |