We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 015045c + fbcbdd8 commit e1892ceCopy full SHA for e1892ce
backend/sdl.c
@@ -58,12 +58,12 @@ static void _twin_sdl_put_span(twin_coord_t left,
58
59
static void _twin_sdl_destroy(twin_screen_t *screen, twin_sdl_t *tx)
60
{
61
- twin_screen_destroy(screen);
62
-
63
SDL_DestroyTexture(tx->texture);
64
SDL_DestroyRenderer(tx->render);
65
SDL_DestroyWindow(tx->win);
66
SDL_Quit();
+
+ twin_screen_destroy(screen);
67
}
68
69
static void twin_sdl_damage(twin_screen_t *screen, twin_sdl_t *tx)
0 commit comments