X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprogram.h;h=734d665b3d5e21c5ec6e1efe8a7106980c5da003;hb=a40fc85277dba5c34402a0e703d038efd30cc57b;hp=d2032a5cd46843e36def08c91f8a95d699025bd1;hpb=2fa1bb084e54af7134b44d3ee7512056e28de67e;p=libs%2Fgl.git diff --git a/source/program.h b/source/program.h index d2032a5c..734d665b 100644 --- a/source/program.h +++ b/source/program.h @@ -81,7 +81,6 @@ private: UniformMap uniforms; LayoutHash uniform_layout_hash; AttributeMap attributes; - bool legacy_vars; public: /// Constructs an empty Program with no Shaders attached. @@ -131,8 +130,6 @@ public: const AttributeInfo &get_attribute_info(const std::string &) const; int get_attribute_location(const std::string &) const; - bool uses_legacy_variables() const { return legacy_vars; } - void bind() const; static void unbind(); };