diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-05-19 12:47:55 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-05-19 15:14:46 +0300 |
commit | 60fc04fb9b4f112998ac42395a17b56cc6edec5c (patch) | |
tree | 929dd4d2868800a6c18ecdc4590590a22a853a0a /source/blender/modifiers | |
parent | bad8b91fd3c7c6f458f0830520b21fe628565cf2 (diff) |
Remove reference to WITH_GL_PROFILE_CORE
There is no more point of keep those around. ES20 may need special case
when/if we dabble with it again. Meanwhile no point on polluting the
code with this.
(ghost still has reference for the PROFILE, but that's reasonable)
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_subsurf.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/modifiers/intern/MOD_subsurf.c b/source/blender/modifiers/intern/MOD_subsurf.c index e444fb85162..407fd63d5c3 100644 --- a/source/blender/modifiers/intern/MOD_subsurf.c +++ b/source/blender/modifiers/intern/MOD_subsurf.c @@ -148,16 +148,13 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, result = subsurf_make_derived_from_derived(derivedData, smd, NULL, subsurf_flags); result->cd_flag = derivedData->cd_flag; -#ifndef WITH_GL_PROFILE_CORE - if (do_cddm_convert) -#endif { DerivedMesh *cddm = CDDM_copy(result); result->release(result); result = cddm; } -#if defined(WITH_GL_PROFILE_CORE) && !defined(WITH_OPESUBDIV) +#ifndef WITH_OPESUBDIV (void) do_cddm_convert; #endif |