]> git.tdb.fi Git - libs/gl.git/blobdiff - source/misc.cpp
Check the flat qualifier from the correct member
[libs/gl.git] / source / misc.cpp
diff --git a/source/misc.cpp b/source/misc.cpp
deleted file mode 100644 (file)
index 9815383..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
-#include "misc.h"
-
-namespace Msp {
-namespace GL {
-
-void enable(GLenum state)
-{
-       glEnable(state);
-}
-
-void disable(GLenum state)
-{
-       glDisable(state);
-}
-
-void set(GLenum state, bool value)
-{
-       if(value)
-               enable(state);
-       else
-               disable(state);
-}
-
-} // namespace GL
-} // namespace Msp