X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Ftexture1d.cpp;h=d6aa1a347c7e974b43397ab595d8de7b0edd3ef8;hp=7d357ff29c3efaa05806886d5f3da4b053fa5075;hb=f73e671dcb36c097647cddbf5b1eaaad2ffc9299;hpb=9e63512930bc7dace6dc169c65161961e5dcfcf6 diff --git a/source/core/texture1d.cpp b/source/core/texture1d.cpp index 7d357ff2..d6aa1a34 100644 --- a/source/core/texture1d.cpp +++ b/source/core/texture1d.cpp @@ -62,11 +62,6 @@ unsigned Texture1D::get_level_size(unsigned level) const return width>>level; } -uint64_t Texture1D::get_data_size() const -{ - return id ? width*get_pixel_size(storage_fmt) : 0; -} - Texture1D::Loader::Loader(Texture1D &t): DataFile::DerivedObjectLoader(t)