Skip to content

Commit b748eab

Browse files
committed
trying to reduce flicker
1 parent 6ad5614 commit b748eab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/chunk_manager/frontend.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,10 @@ export class ChunkQueueManager extends SharedObject {
266266
if (newState !== oldState) {
267267
switch (newState) {
268268
case ChunkState.GPU_MEMORY:
269-
// console.log("Copying to GPU", chunk);
270269
chunk.copyToGPU(this.gl);
271-
visibleChunksChanged = true;
270+
if (chunk.constructor.name !== "ManifestChunk") {
271+
visibleChunksChanged = true;
272+
}
272273
break;
273274
case ChunkState.SYSTEM_MEMORY:
274275
if (oldState === ChunkState.GPU_MEMORY) {

0 commit comments

Comments
 (0)