]> git.tdb.fi Git - libs/gl.git/blob - source/misc.h
b8540bd61e7ec1fef504ec9c6c94dbdb6b2c164b
[libs/gl.git] / source / misc.h
1 /* $Id$
2
3 This file is part of libmspgl
4 Copyright © 2007  Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef MSP_GL_MISC_H_
9 #define MSP_GL_MISC_H_
10
11 #include "gl.h"
12
13 namespace Msp {
14 namespace GL {
15
16 void enable(GLenum);
17 void disable(GLenum);
18 void set(GLenum, bool);
19
20 ///Deprecated (can't properly pass an array through a reference)
21 void get(GLenum, int &);
22
23 void get(GLenum, int *);
24 int get_i(GLenum);
25
26 } // namespace GL
27 } // namespace Msp
28
29 #endif