From 2f8a5ed985f63c632665469ae0e924c7d94ccc8a Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Thu, 11 May 2017 16:15:26 +0200 Subject: Remove warnings after CDDM fix --- source/blender/modifiers/intern/MOD_subsurf.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/modifiers/intern') diff --git a/source/blender/modifiers/intern/MOD_subsurf.c b/source/blender/modifiers/intern/MOD_subsurf.c index a23026c61da..e444fb85162 100644 --- a/source/blender/modifiers/intern/MOD_subsurf.c +++ b/source/blender/modifiers/intern/MOD_subsurf.c @@ -157,6 +157,10 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, result = cddm; } +#if defined(WITH_GL_PROFILE_CORE) && !defined(WITH_OPESUBDIV) + (void) do_cddm_convert; +#endif + return result; } -- cgit v1.2.3