]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/optimize.h
Remove an obsolete variable
[libs/gl.git] / source / glsl / optimize.h
index 160388065b8fab22d492e3193f8eed9702f76acb..bffc5a036197cc7f3a46e829018a38d98dac7495 100644 (file)
@@ -44,7 +44,6 @@ private:
        std::map<std::string, VariableDeclaration *> variable_map;
        std::string remap_prefix;
        unsigned remap_names;
-       bool deps_only;
        RefPtr<Statement> r_inlined_statement;
        std::set<Node *> dependencies;
        std::set<std::string> referenced_names;
@@ -75,6 +74,7 @@ private:
        NodeList<Statement>::iterator insert_point;
        RefPtr<Expression> r_inline_result;
        bool r_any_inlined;
+       bool r_inlined_here;
 
 public:
        FunctionInliner();