mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
Cleaned up some code, the 'ry' parameter of love.graphics.rectangle now defaults to the value of 'rx' rather than defaulting to 0.
This commit is contained in:
@@ -306,7 +306,7 @@ void Image::unloadVolatile()
|
||||
|
||||
gl.deleteTexture(texture);
|
||||
texture = 0;
|
||||
|
||||
|
||||
gl.updateTextureMemorySize(textureMemorySize, 0);
|
||||
textureMemorySize = 0;
|
||||
}
|
||||
@@ -347,7 +347,7 @@ bool Image::refresh(int xoffset, int yoffset, int w, int h)
|
||||
|
||||
generateMipmaps();
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user