]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texturecube.cpp
Move the Resource function override of Texture classes into backend
[libs/gl.git] / source / core / texturecube.cpp
index 0e0a1fc9178dca4ebd8b4cfc55bd52185b5e5b51..2f36f33624cee007b2667daeb993caaf212e9a04 100644 (file)
@@ -138,11 +138,6 @@ Vector3 TextureCube::get_texel_direction(TextureCubeFace face, unsigned u, unsig
        return fv+s*sv+t*tv;
 }
 
-uint64_t TextureCube::get_data_size() const
-{
-       return id ? size*size*6*get_pixel_size(storage_fmt) : 0;
-}
-
 
 TextureCube::Loader::Loader(TextureCube &t):
        DataFile::DerivedObjectLoader<TextureCube, Texture::Loader>(t)