From: Mikko Rasa Date: Wed, 31 Mar 2021 21:14:25 +0000 (+0300) Subject: Add missing NodeRemover invocation to LegacyConverter X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=599f50ec34aba2c35dcab9d17d8b9fc6bfbd0a07;p=libs%2Fgl.git Add missing NodeRemover invocation to LegacyConverter --- diff --git a/source/glsl/finalize.cpp b/source/glsl/finalize.cpp index 55f7b82e..b8c3378c 100644 --- a/source/glsl/finalize.cpp +++ b/source/glsl/finalize.cpp @@ -91,6 +91,7 @@ void LegacyConverter::apply(Stage &s, const Features &feat) if(supports_stage(s.type)) { s.content.visit(*this); + NodeRemover().apply(s, nodes_to_remove); if(!stage->required_features.glsl_version) stage->required_features.glsl_version = Version(1, (stage->required_features.gl_api==OPENGL_ES2 ? 0 : 10));