X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Ftexture1d.cpp;h=df8dd06c75c705e06b31547b0501ea4a86e1c1fb;hp=03e02159a5b8dd49e6847366cd37c8e4d56d8e19;hb=3a1b9cbe2441ae670a97541dc8ccb0a2860c8302;hpb=7ab13563ec79b45a09f03da73acb15b39e192df9 diff --git a/source/core/texture1d.cpp b/source/core/texture1d.cpp index 03e02159..df8dd06c 100644 --- a/source/core/texture1d.cpp +++ b/source/core/texture1d.cpp @@ -146,7 +146,7 @@ unsigned Texture1D::get_level_size(unsigned level) const return width>>level; } -UInt64 Texture1D::get_data_size() const +uint64_t Texture1D::get_data_size() const { return id ? width*get_pixel_size(storage_fmt) : 0; }