]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texenv.cpp
Drop Id tags and copyright notices from files
[libs/gl.git] / source / texenv.cpp
index 3730a7e188606e85bab9e501730665c33eb42cab..c1585391bdcddc04ce809f25ce767001a046116f 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2008  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #include "texenv.h"
 #include "texunit.h"
 
@@ -38,6 +31,11 @@ void TexEnv::bind() const
        }
 }
 
+const TexEnv *TexEnv::current()
+{
+       return TexUnit::current().get_texenv();
+}
+
 void TexEnv::unbind()
 {
        if(TexUnit::current().set_texenv(0))