X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprogram.h;h=734d665b3d5e21c5ec6e1efe8a7106980c5da003;hb=3e555c51a85b97090ae8c9b16ee425ee5ffe6ef8;hp=d2032a5cd46843e36def08c91f8a95d699025bd1;hpb=a170be7d2b295c4a3bbcea6585634bece3e1638b;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(); };