X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture1d.cpp;h=df8dd06c75c705e06b31547b0501ea4a86e1c1fb;hb=a4d83d3748cdde8cf30683d36a040d3dfacfd693;hp=03e02159a5b8dd49e6847366cd37c8e4d56d8e19;hpb=4e9fe48180c7b4646ac2591e172de61f7a693b32;p=libs%2Fgl.git 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; }