Added GUI draw cache

This commit is contained in:
Yousef Khadadeh 2026-04-08 17:34:50 +03:00
parent caaad67c42
commit d709acb094
30 changed files with 547 additions and 246 deletions

View file

@ -236,6 +236,8 @@ void MainProgram::refresh_draw_surfaces() {
if(!window.intermediateCanvas)
throw std::runtime_error("[refresh_draw_surfaces] Could not create intermediate canvas");
g.delete_cache_surface();
DrawingProgramCache::delete_all_draw_cache();
}
}