|
@@ -183,6 +183,11 @@ class Atlas {
|
|
for (final image in atlasPages) {
|
|
for (final image in atlasPages) {
|
|
image.dispose();
|
|
image.dispose();
|
|
}
|
|
}
|
|
|
|
+ for (final map in atlasPagePaints) {
|
|
|
|
+ map.values.forEach((element) {
|
|
|
|
+ element.shader?.dispose();
|
|
|
|
+ });
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|