X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fcore%2Ftexture3d.cpp;h=285abeb957665b3cad558f2caf62d2d29b04166e;hb=3a1b9cbe2441ae670a97541dc8ccb0a2860c8302;hp=705a40ba5574cc950078d119e9061a90e6bd9272;hpb=7b569bbfcfb65d8d88b47ac42ee1df6a7d27e784;p=libs%2Fgl.git diff --git a/source/core/texture3d.cpp b/source/core/texture3d.cpp index 705a40ba..285abeb9 100644 --- a/source/core/texture3d.cpp +++ b/source/core/texture3d.cpp @@ -103,11 +103,6 @@ void Texture3D::image(unsigned level, const void *data) glTexImage3D(target, level, fmt, size.x, size.y, size.z, 0, comp, type, data); allocated |= 1< Texture3D::get_level_size(unsigned level) const return LinAl::Vector(w, h, d); } -UInt64 Texture3D::get_data_size() const +uint64_t Texture3D::get_data_size() const { return id ? width*height*depth*get_pixel_size(storage_fmt) : 0; }