mirror of
https://github.com/love2d/love.git
synced 2026-08-21 21:15:09 +02:00
Removed more unnecessary tabs in blank lines
This commit is contained in:
@@ -49,8 +49,6 @@ Font::Font(love::font::Rasterizer *r, const Image::Filter &filter)
|
||||
, mSpacing(1)
|
||||
, filter(filter)
|
||||
{
|
||||
r->retain();
|
||||
|
||||
love::font::GlyphData *gd = r->getGlyphData(32);
|
||||
type = (gd->getFormat() == love::font::GlyphData::FORMAT_LUMINANCE_ALPHA ? FONT_TRUETYPE : FONT_IMAGE);
|
||||
delete gd;
|
||||
@@ -72,15 +70,9 @@ Font::Font(love::font::Rasterizer *r, const Image::Filter &filter)
|
||||
texture_width = TEXTURE_WIDTHS[texture_size_index];
|
||||
texture_height = TEXTURE_HEIGHTS[texture_size_index];
|
||||
|
||||
try
|
||||
{
|
||||
createTexture();
|
||||
}
|
||||
catch (love::Exception &e)
|
||||
{
|
||||
r->release();
|
||||
throw;
|
||||
}
|
||||
|
||||
r->retain();
|
||||
}
|
||||
|
||||
Font::~Font()
|
||||
|
||||
Reference in New Issue
Block a user