mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fix compilation
--HG-- branch : minor
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user