X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmisc.h;h=32adc9bf04794a37ff5f1d3cdd718dddacf03d92;hp=e9ed91bfa672b300214a69afe06c680b12993bae;hb=975162f86071985913b59a835d38046e1c271594;hpb=efe80f5a696b4a3be2378dc6d635c89676afa12d diff --git a/source/misc.h b/source/misc.h index e9ed91bf..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,8 +10,9 @@ void enable(GLenum); void disable(GLenum); void set(GLenum, bool); -void get(GLenum, int &); int get_i(GLenum); +int get_shader_i(unsigned, GLenum); +int get_program_i(unsigned, GLenum); } // namespace GL } // namespace Msp