forked from mirrors/principia
Fix font loading crash
This commit is contained in:
parent
45fc40fd59
commit
8a174edb28
1 changed files with 1 additions and 3 deletions
|
|
@ -271,10 +271,8 @@ p_font::p_font(struct tms_atlas *atlas, const char *font_path, int height, bool
|
|||
}
|
||||
|
||||
p_font::p_font(struct tms_atlas *atlas, const char *font_path, int height)
|
||||
: orig_height(height)
|
||||
: p_font(atlas, font_path, height, false)
|
||||
{
|
||||
// call the other ctor
|
||||
p_font(atlas, font_path, height, false);
|
||||
}
|
||||
|
||||
p_font::~p_font()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue