mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Fixed MemoryData.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user