X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fglsl%2Fcompiler.cpp;h=e46e5401a8fbe452e8175cc622545d7f52caf6f7;hb=a60a60fe29850ef8a5dc291ed70741eeb95d9e0b;hp=ccfbe691195eefd91aa4314281db6afc1bb97c97;hpb=041ba4b1acd55337239c5ce24cc310118c621206;p=libs%2Fgl.git diff --git a/source/glsl/compiler.cpp b/source/glsl/compiler.cpp index ccfbe691..e46e5401 100644 --- a/source/glsl/compiler.cpp +++ b/source/glsl/compiler.cpp @@ -312,7 +312,7 @@ Compiler::OptimizeResult Compiler::optimize(Stage &stage) } if(ExpressionInliner().apply(stage)) { - resolve(stage, RESOLVE_VARIABLES|RESOLVE_EXPRESSIONS); + resolve(stage, RESOLVE_VARIABLES|RESOLVE_FUNCTIONS|RESOLVE_EXPRESSIONS); any_inlined = true; }