]> git.tdb.fi Git - libs/gl.git/blobdiff - source/misc.h
Add loading support for AmbientOcclusion
[libs/gl.git] / source / misc.h
index 071875cd43805db5db7f230849d1e2060c2972ca..32adc9bf04794a37ff5f1d3cdd718dddacf03d92 100644 (file)
@@ -1,14 +1,7 @@
-/* $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 {
@@ -17,6 +10,10 @@ 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