X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fclipping.h;h=319a8d98ff765a9cfb4e1c7b3fd57ba825b60b75;hp=e42c28e6394b6c1c519afc26f182957b1f75be20;hb=a77629d781eeb789870470c5ebdbd4b691e1b138;hpb=e03a752116ab28283bf89dddf1228804cc853a7b diff --git a/source/core/clipping.h b/source/core/clipping.h index e42c28e6..319a8d98 100644 --- a/source/core/clipping.h +++ b/source/core/clipping.h @@ -2,6 +2,7 @@ #define MSP_GL_CLIPPING_H_ #include +#include #include "bindable.h" namespace Msp { @@ -19,8 +20,11 @@ private: public: static unsigned get_n_attach_points(); - void attach(unsigned, const ClipPlane &); - void detach(unsigned); + void attach(const ClipPlane &); + void detach(const ClipPlane &); + + DEPRECATED void attach(unsigned, const ClipPlane &p) { attach(p); } + DEPRECATED void detach(unsigned); void update_shader_data(ProgramData &, const Matrix &) const;