X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Ftexture3d.cpp;h=285abeb957665b3cad558f2caf62d2d29b04166e;hp=a7dae70350dab74416eb399b22dbcac63481e21d;hb=3a1b9cbe2441ae670a97541dc8ccb0a2860c8302;hpb=7ab13563ec79b45a09f03da73acb15b39e192df9 diff --git a/source/core/texture3d.cpp b/source/core/texture3d.cpp index a7dae703..285abeb9 100644 --- a/source/core/texture3d.cpp +++ b/source/core/texture3d.cpp @@ -183,7 +183,7 @@ LinAl::Vector 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; }