Fix WebGL page readiness gating

This commit is contained in:
2026-06-10 10:46:01 +02:00
parent 623b42caf9
commit e3d66686b9
5 changed files with 45 additions and 20 deletions
+1 -1
View File
@@ -381,7 +381,7 @@ class WebGLPageCacheModule extends BaseModule {
if (!Number.isFinite(pageIndex)) return null;
const key = this.makeResidentKey(pageMeta);
const resident = this.residentTextures.get(key);
if (!resident || this.isOlderPageMeta(pageMeta, resident.pageMeta)) return null;
if (!resident) return null;
return this.getResidentTexture(pageMeta);
}