BESM6: Fonts should be closed explicitly before terminating SDL_ttf.
This commit is contained in:
parent
7dfc409da3
commit
0ee809546c
1 changed files with 2 additions and 0 deletions
|
@ -382,6 +382,8 @@ t_stat besm6_close_panel (UNIT *u, int32 val, char *cptr, void *desc)
|
|||
{
|
||||
if (! screen)
|
||||
return SCPE_NOTATT;
|
||||
if (font_big) TTF_CloseFont(font_big);
|
||||
if (font_small) TTF_CloseFont(font_small);
|
||||
TTF_Quit();
|
||||
SDL_Quit();
|
||||
screen = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue