X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmisc.h;h=32adc9bf04794a37ff5f1d3cdd718dddacf03d92;hp=b8540bd61e7ec1fef504ec9c6c94dbdb6b2c164b;hb=97b8f0d945474582c2213b70418d399e5641f0d5;hpb=f17794d55923d4fb4f63e9d082d8d84a735a04e8 diff --git a/source/misc.h b/source/misc.h index b8540bd6..32adc9bf 100644 --- a/source/misc.h +++ b/source/misc.h @@ -1,10 +1,3 @@ -/* $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_ @@ -17,11 +10,9 @@ 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); +int get_shader_i(unsigned, GLenum); +int get_program_i(unsigned, GLenum); } // namespace GL } // namespace Msp