Small ImageData code cleanup.

This commit is contained in:
Alex Szpakowski
2019-06-04 20:33:44 -03:00
parent 8455ef22d5
commit 2a534893b1
4 changed files with 14 additions and 25 deletions
+4 -4
View File
@@ -25,10 +25,10 @@ namespace love
namespace image
{
ImageDataBase::ImageDataBase()
: format(PIXELFORMAT_UNKNOWN)
, width(0)
, height(0)
ImageDataBase::ImageDataBase(PixelFormat format, int width, int height)
: format(format)
, width(width)
, height(height)
{
}