]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texture3d.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / texture3d.h
diff --git a/source/texture3d.h b/source/texture3d.h
deleted file mode 100644 (file)
index ec3b57b..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
-#ifndef MSP_GL_TEXTURE3D_H_
-#define MSP_GL_TEXTURE3D_H_
-
-#include <string>
-#include "pixelformat.h"
-#include "texture.h"
-
-namespace Msp {
-namespace GL {
-
-class Texture3D: public Texture
-{
-private:
-       PixelFormat ifmt;
-       sizei width;
-       sizei height;
-       sizei depth;
-       int border;
-
-public:
-       Texture3D();
-       void storage(PixelFormat, sizei, sizei, sizei, int);
-       void image(int, PixelFormat, DataType, const void *);
-       void sub_image(int, int, int, sizei, sizei, sizei, PixelFormat, DataType, const void *);
-       void load_image(const std::string &fn, int dp=-1);
-       sizei get_width() const { return width; }
-       sizei get_height() const { return height; }
-       sizei get_depth() const { return depth; }
-};
-
-} // namespace GL
-} // namespace Msp
-
-#endif