]> git.tdb.fi Git - libs/gl.git/blobdiff - source/misc.h
Add const overload for AnimatedObject::get_shader_data
[libs/gl.git] / source / misc.h
index 876904779ea983062b575e701e6e1e70df401445..32adc9bf04794a37ff5f1d3cdd718dddacf03d92 100644 (file)
@@ -1,20 +1,19 @@
-/* $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);
 
+int get_i(GLenum);
+int get_shader_i(unsigned, GLenum);
+int get_program_i(unsigned, GLenum);
+
 } // namespace GL
 } // namespace Msp