X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fglsl%2Fcompiler.cpp;h=c5f0a9a3d05b6fd640f9afe5a5cba5a05e0ec5ab;hb=a1ba04add302e7712d127b46d8d11386987a0aea;hp=332dd331f69b6bc6e287e89306e2e21eeff52e72;hpb=4c6f1a526ed949f6c9f4c3a57c036b3cdb1aaa91;p=libs%2Fgl.git diff --git a/source/glsl/compiler.cpp b/source/glsl/compiler.cpp index 332dd331..c5f0a9a3 100644 --- a/source/glsl/compiler.cpp +++ b/source/glsl/compiler.cpp @@ -282,7 +282,7 @@ void Compiler::resolve(Stage &stage, unsigned flags) else if(resolve(stage, flags, RESOLVE_FUNCTIONS)) flags |= RESOLVE_EXPRESSIONS; else if(resolve(stage, flags, RESOLVE_EXPRESSIONS)) - flags |= RESOLVE_VARIABLES; + flags |= RESOLVE_VARIABLES|RESOLVE_FUNCTIONS; } }