mirror of
https://github.com/simh/simh.git
synced 2026-04-18 17:07:25 +00:00
BESM6: Fonts should be closed explicitly before terminating SDL_ttf.
This commit is contained in:
@@ -382,6 +382,8 @@ t_stat besm6_close_panel (UNIT *u, int32 val, char *cptr, void *desc)
|
|||||||
{
|
{
|
||||||
if (! screen)
|
if (! screen)
|
||||||
return SCPE_NOTATT;
|
return SCPE_NOTATT;
|
||||||
|
if (font_big) TTF_CloseFont(font_big);
|
||||||
|
if (font_small) TTF_CloseFont(font_small);
|
||||||
TTF_Quit();
|
TTF_Quit();
|
||||||
SDL_Quit();
|
SDL_Quit();
|
||||||
screen = 0;
|
screen = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user