X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglsl%2Foutput.h;h=0a506a5d9e15b2080a392eb5ef628730683d9de7;hb=3e24a1bfd5a259b185ff0f37046dd0489e1908a3;hp=61c02caada72aed11f5e7361c55b639ccde449b9;hpb=f526938b407e061c7424adedc34af4d1ff687f90;p=libs%2Fgl.git diff --git a/source/glsl/output.h b/source/glsl/output.h index 61c02caa..0a506a5d 100644 --- a/source/glsl/output.h +++ b/source/glsl/output.h @@ -14,17 +14,17 @@ class Formatter: private TraversingVisitor { private: Stage *stage; - Compiler::Mode mode; std::string formatted; unsigned source_index; unsigned source_line; unsigned indent; bool parameter_list; + bool omit_builtin; public: Formatter(); - const std::string &apply(Stage &, Compiler::Mode); + const std::string &apply(Stage &); const std::string &apply(Node &n) { n.visit(*this); return formatted; } private: