]> git.tdb.fi Git - libs/gl.git/blobdiff - source/program.h
Remove support for legacy OpenGL features
[libs/gl.git] / source / program.h
index d2032a5cd46843e36def08c91f8a95d699025bd1..734d665b3d5e21c5ec6e1efe8a7106980c5da003 100644 (file)
@@ -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();
 };