X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Ftexture2d.cpp;h=857ef17a69b7c501706c235e888e78ccc8f83856;hp=0fc300e0a09e7b4659aefe3bb842228797f6f3b1;hb=3a1b9cbe2441ae670a97541dc8ccb0a2860c8302;hpb=7ab13563ec79b45a09f03da73acb15b39e192df9 diff --git a/source/core/texture2d.cpp b/source/core/texture2d.cpp index 0fc300e0..857ef17a 100644 --- a/source/core/texture2d.cpp +++ b/source/core/texture2d.cpp @@ -193,7 +193,7 @@ Resource::AsyncLoader *Texture2D::load(IO::Seekable &io, const Resources *) return ldr; } -UInt64 Texture2D::get_data_size() const +uint64_t Texture2D::get_data_size() const { return id ? width*height*get_pixel_size(format) : 0; }