Using latest love-android branch (e263d91d136d)

This commit is contained in:
fysx
2014-04-04 11:37:36 +02:00
parent 8acfb8d91a
commit e96eef4435
87 changed files with 1070 additions and 397 deletions
+3 -3
View File
@@ -64,16 +64,16 @@ void *GlyphData::getData() const
return (void *) data;
}
int GlyphData::getSize() const
size_t GlyphData::getSize() const
{
switch (format)
{
case GlyphData::FORMAT_LUMINANCE_ALPHA:
return getWidth() * getHeight() * 2;
return size_t(getWidth() * getHeight() * 2);
break;
case GlyphData::FORMAT_RGBA:
default:
return getWidth() * getHeight() * 4;
return size_t(getWidth() * getHeight() * 4);
break;
}