X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fprogrambuilder.h;h=6845f4a9450590b7ab5c01e37b3ab99fbd886086;hp=a6eb3fde8522dc097b19032c972cab399c078685;hb=dd6b80599116d6e61f3ea6c7a917586def15e3a3;hpb=a6acc6fc98f8571eaaa66f726c1ff4d60abe4f58 diff --git a/source/programbuilder.h b/source/programbuilder.h index a6eb3fde..6845f4a9 100644 --- a/source/programbuilder.h +++ b/source/programbuilder.h @@ -31,6 +31,7 @@ public: bool reflection; bool transform; bool colorify; + bool legacy; StandardFeatures(); @@ -75,7 +76,7 @@ private: void resolve_space(const std::string &); void add_reference(ShaderVariable &); void update_reference(ShaderVariable &, ShaderVariable &); - void check_inline(); + void check_inline(bool); bool is_referenced_from(VariableScope) const; std::string get_expression() const; };