]> git.tdb.fi Git - libs/gl.git/blobdiff - source/misc.h
Bind ProgramData to a Program upon construction
[libs/gl.git] / source / misc.h
index 49c6cf5bd66a3e7728581142858c6726950226d5..b8540bd61e7ec1fef504ec9c6c94dbdb6b2c164b 100644 (file)
@@ -1,13 +1,28 @@
+/* $Id$
+
+This file is part of libmspgl
+Copyright © 2007  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #ifndef MSP_GL_MISC_H_
 #define MSP_GL_MISC_H_
 
-#include <GL/gl.h>
+#include "gl.h"
 
 namespace Msp {
 namespace GL {
 
+void enable(GLenum);
+void disable(GLenum);
 void set(GLenum, bool);
 
+///Deprecated (can't properly pass an array through a reference)
+void get(GLenum, int &);
+
+void get(GLenum, int *);
+int get_i(GLenum);
+
 } // namespace GL
 } // namespace Msp