X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmisc.h;h=464c08705ffd1b96efedcde880761c0ae994885f;hp=876904779ea983062b575e701e6e1e70df401445;hb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;hpb=f098a871fc6dc7b61a5aca5581fa327e4124c036 diff --git a/source/misc.h b/source/misc.h index 87690477..464c0870 100644 --- a/source/misc.h +++ b/source/misc.h @@ -1,20 +1,21 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_GL_MISC_H_ #define MSP_GL_MISC_H_ -#include +#include "gl.h" namespace Msp { namespace GL { +void enable(GLenum); +void disable(GLenum); void set(GLenum, bool); +///Deprecated (can't properly pass an array through a reference) +void get(GLenum, int &); + +void get(GLenum, int *); +int get_i(GLenum); + } // namespace GL } // namespace Msp