]> git.tdb.fi Git - libs/gl.git/blob - source/misc.cpp
Add files
[libs/gl.git] / source / misc.cpp
1 #include "misc.h"
2
3 namespace Msp {
4 namespace GL {
5
6 void set(GLenum state, bool value)
7 {
8         if(value)
9                 glEnable(state);
10         else
11                 glDisable(state);
12 }
13
14 } // namespace GL
15 } // namespace Msp