This commit is contained in:
Daniel Imms
2022-10-30 18:11:24 -07:00
parent dda3f5f545
commit 4d05905736
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ export class TextureAtlas implements ITextureAtlas {
if (this._pages.length === 4 || this._pages.length === 7) {
this._increaseTextureSize();
}
// TODO: Clear all pages and restart if the maximum page count is reached
// TODO: Ensure pages aren't created beyond the maximum supported
const newPage = new AtlasPage(this._document, this._textureSize);
this._pages.push(newPage);
this._activePages.push(newPage);