X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Ftexture3d.cpp;h=496b5f1fbe80370fefda9e169ad428d98464d274;hp=c901556aa52f7aa2b84357f3ce784bf3d440279c;hb=f73e671dcb36c097647cddbf5b1eaaad2ffc9299;hpb=9e63512930bc7dace6dc169c65161961e5dcfcf6 diff --git a/source/core/texture3d.cpp b/source/core/texture3d.cpp index c901556a..496b5f1f 100644 --- a/source/core/texture3d.cpp +++ b/source/core/texture3d.cpp @@ -91,11 +91,6 @@ LinAl::Vector Texture3D::get_level_size(unsigned level) const return LinAl::Vector(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(t)