3 This file is part of libmspgl
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #define GL_GLEXT_PROTOTYPES
22 bool TexUnit::set_texture(const Texture *tex)
24 bool result=(tex!=texture);
29 TexUnit &TexUnit::activate(unsigned n)
34 glActiveTextureARB(GL_TEXTURE0+n);
40 TexUnit &TexUnit::current()
47 vector<TexUnit> TexUnit::units;
48 TexUnit *TexUnit::cur_unit=0;