Fix compilation

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-05-06 23:59:15 -03:00
parent b019a4a64c
commit 135d928922
+2 -2
View File
@@ -80,9 +80,9 @@ void Texture::initQuad()
void Texture::setGraphicsMemorySize(int64 bytes)
{
totalGraphicsMemory = std::max(totalGraphicsMemory - graphicsMemorySize, 0LL);
totalGraphicsMemory = std::max(totalGraphicsMemory - graphicsMemorySize, (int64) 0);
bytes = std::max(bytes, 0LL);
bytes = std::max(bytes, (int64) 0);
graphicsMemorySize = bytes;
totalGraphicsMemory += bytes;
}