]> git.tdb.fi Git - libs/gl.git/blobdiff - source/misc.h
Use wrappers for single-value glGet* calls
[libs/gl.git] / source / misc.h
index 49c6cf5bd66a3e7728581142858c6726950226d5..86e09c044752f4844342a6869d449bb25ac34ba6 100644 (file)
@@ -1,13 +1,20 @@
 #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);
 
+void get(GLenum, int *);
+int get_i(GLenum);
+int get_shader_i(unsigned, GLenum);
+int get_program_i(unsigned, GLenum);
+
 } // namespace GL
 } // namespace Msp