Delete all draw cache on quit
This commit is contained in:
parent
fcda17c7d3
commit
4124104fbc
3 changed files with 5 additions and 3 deletions
|
|
@ -794,7 +794,7 @@ SDL_AppResult SDL_AppEvent(void *appstate, SDL_Event *event) {
|
|||
}
|
||||
|
||||
void SDL_AppQuit(void *appstate, SDL_AppResult result) {
|
||||
DrawingProgramCache::delete_window_cache_surface();
|
||||
DrawingProgramCache::delete_all_draw_cache();
|
||||
|
||||
MainStruct& mS = *((MainStruct*)appstate);
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue