]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture3d.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / core / texture3d.h
index c1bf8ed88bda2201b7ed3805435817227ac097b1..e7e3a79e951909f081349e32a53661b5f844cb1a 100644 (file)
@@ -32,7 +32,6 @@ protected:
        unsigned width = 0;
        unsigned height = 0;
        unsigned depth = 0;
-       unsigned levels = 0;
 
        Texture3D(unsigned);
 public:
@@ -63,13 +62,7 @@ public:
        unsigned get_height() const { return height; }
        unsigned get_depth() const { return depth; }
 protected:
-       unsigned get_n_levels() const;
        LinAl::Vector<unsigned, 3> get_level_size(unsigned) const;
-
-public:
-       virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }
-       virtual std::size_t get_data_size() const;
-       virtual void unload() { }
 };
 
 } // namespace GL