Fix WebGL page readiness gating
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user