Fix a shitload of warnings in 64 bits mode
Former-commit-id: 5bc0c622c20eae45df51bb1ee62e5ed566e58a1b [formerly a8befbed30cb897ce876fd3b46a3585e1b70613e] Former-commit-id: 999225e414c0d6a3e9c6868f040b68045b2ba724
This commit is contained in:
@@ -364,7 +364,7 @@ namespace Nz
|
||||
return Image::GetMaxLevel(m_impl->type, m_impl->width, m_impl->height, m_impl->depth);
|
||||
}
|
||||
|
||||
unsigned int Texture::GetMemoryUsage() const
|
||||
std::size_t Texture::GetMemoryUsage() const
|
||||
{
|
||||
#if NAZARA_RENDERER_SAFE
|
||||
if (!m_impl)
|
||||
@@ -399,7 +399,7 @@ namespace Nz
|
||||
return size * PixelFormat::GetBytesPerPixel(m_impl->format);
|
||||
}
|
||||
|
||||
unsigned int Texture::GetMemoryUsage(UInt8 level) const
|
||||
std::size_t Texture::GetMemoryUsage(UInt8 level) const
|
||||
{
|
||||
#if NAZARA_UTILITY_SAFE
|
||||
if (!m_impl)
|
||||
|
||||
Reference in New Issue
Block a user