]> git.tdb.fi Git - libs/gl.git/blob - source/misc.cpp
Add Id tags and copyright notices to files
[libs/gl.git] / source / misc.cpp
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 #include "misc.h"
9
10 namespace Msp {
11 namespace GL {
12
13 void set(GLenum state, bool value)
14 {
15         if(value)
16                 glEnable(state);
17         else
18                 glDisable(state);
19 }
20
21 } // namespace GL
22 } // namespace Msp