X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmisc.h;h=b8540bd61e7ec1fef504ec9c6c94dbdb6b2c164b;hb=5172d32d67595ea0b70184fadcfcb8e023cccbc8;hp=071875cd43805db5db7f230849d1e2060c2972ca;hpb=bdf2568e247af858c4a1ca8004d97f13fe9b8cb0;p=libs%2Fgl.git diff --git a/source/misc.h b/source/misc.h index 071875cd..b8540bd6 100644 --- a/source/misc.h +++ b/source/misc.h @@ -8,7 +8,7 @@ Distributed under the LGPL #ifndef MSP_GL_MISC_H_ #define MSP_GL_MISC_H_ -#include +#include "gl.h" namespace Msp { namespace GL { @@ -17,6 +17,12 @@ 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