mirror of
https://github.com/open-simh/simh.git
synced 2026-01-14 07:40:35 +00:00
BESM6: Fonts should be closed explicitly before terminating SDL_ttf.
This commit is contained in:
parent
7dfc409da3
commit
0ee809546c
@ -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…
x
Reference in New Issue
Block a user