X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmisc.cpp;h=39810be3d82b814ef6555032ab0cc422e40e7b62;hb=refs%2Fheads%2Fmaster;hp=9815383a793ade89f5e7b5d23221af70b77e7a1b;hpb=bdf2568e247af858c4a1ca8004d97f13fe9b8cb0;p=libs%2Fgl.git diff --git a/source/misc.cpp b/source/misc.cpp deleted file mode 100644 index 9815383a..00000000 --- a/source/misc.cpp +++ /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