]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture3d.cpp
Move the Resource function override of Texture classes into backend
[libs/gl.git] / source / core / texture3d.cpp
index c901556aa52f7aa2b84357f3ce784bf3d440279c..496b5f1fbe80370fefda9e169ad428d98464d274 100644 (file)
@@ -91,11 +91,6 @@ LinAl::Vector<unsigned, 3> Texture3D::get_level_size(unsigned level) const
        return LinAl::Vector<unsigned, 3>(w, h, d);
 }
 
-uint64_t Texture3D::get_data_size() const
-{
-       return id ? width*height*depth*get_pixel_size(storage_fmt) : 0;
-}
-
 
 Texture3D::Loader::Loader(Texture3D &t):
        DataFile::DerivedObjectLoader<Texture3D, Texture::Loader>(t)