Fixed MemoryData.

This commit is contained in:
rude
2009-07-28 17:43:22 +02:00
8 changed files with 108 additions and 9 deletions
+3 -3
View File
@@ -400,8 +400,8 @@ namespace opengl
return new Frame(x, y, w, h, sw, sh);
}
Font * Graphics::newFont(love::filesystem::File * file, int size)
{
Font * Graphics::newFont(love::filesystem::File * file, int size)
{
Font * font = new TrueTypeFont(file, size);
// Load it and check for errors.
@@ -411,7 +411,7 @@ namespace opengl
return 0;
}
return font;
return font;
}
Font * Graphics::newImageFont(Image * image, const char * glyphs, float spacing)
+1 -1
View File
@@ -244,7 +244,7 @@ namespace opengl
/**
* Creates a Font object.
**/
Font * newFont(love::filesystem::File * file, int size = 12);
Font * newFont(love::filesystem::File * file, int size);
/**
* Creates an ImageFont object.