]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texunit.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / texunit.h
diff --git a/source/texunit.h b/source/texunit.h
deleted file mode 100644 (file)
index 5aec5b3..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef MSP_GL_TEXUNIT_H_
-#define MSP_GL_TEXUNIT_H_
-
-#include <vector>
-
-namespace Msp {
-namespace GL {
-
-class Texture;
-
-class TexUnit
-{
-public:
-       TexUnit();
-       bool set_texture(const Texture *);
-       const Texture *get_texture() { return texture; }
-       //TexEnv &get_env() { return env; }
-
-       static TexUnit &activate(unsigned);
-       static TexUnit &current();
-private:
-       const Texture *texture;
-       //TexEnv env;
-
-       static std::vector<TexUnit> units;
-       static TexUnit *cur_unit;
-};
-
-} // namespace GL
-} // namespace Msp
-
-#endif