]> git.tdb.fi Git - libs/gl.git/blobdiff - source/clipping.h
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / clipping.h
index 2a4330bac2ecb55dfffae77534ad4196418c3de7..e42c28e6394b6c1c519afc26f182957b1f75be20 100644 (file)
@@ -16,15 +16,15 @@ class Clipping: public Bindable<Clipping>
 private:
        std::vector<const ClipPlane *> planes;
 
-       static bool bound_with_legacy;
-
 public:
+       static unsigned get_n_attach_points();
+
        void attach(unsigned, const ClipPlane &);
        void detach(unsigned);
 
        void update_shader_data(ProgramData &, const Matrix &) const;
 
-       void bind(bool legacy = true) const;
+       void bind() const;
 
        static void unbind();
 };