3 This file is part of libmspgl
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
18 void set(GLenum, bool);
20 void get(GLenum, int &);
36 Binder(const T &o): obj(o) { obj.bind(); }
37 ~Binder() { obj.unbind(); }
44 Bind(const T &o): binder(new Binder<T>(o)) { }
45 ~Bind() { delete binder; }