-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2008 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#include "texenv.h"
#include "texunit.h"
}
}
+const TexEnv *TexEnv::current()
+{
+ return TexUnit::current().get_texenv();
+}
+
void TexEnv::unbind()
{
if(TexUnit::current().set_texenv(0))