Skip to content

Commit bd5353a

Browse files
committed
fx: removed hasImage check
1 parent 8aba68a commit bd5353a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/core/renderers/canvas/CanvasCoreRenderer.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,7 @@ export class CanvasCoreRenderer extends CoreRenderer {
141141
if (texture.state === 'freed') {
142142
return;
143143
}
144-
if (
145-
texture.state !== 'loaded' ||
146-
(textureType === TextureType.subTexture && !ctxTexture.hasImage())
147-
) {
144+
if (texture.state !== 'loaded') {
148145
return;
149146
}
150147
}

0 commit comments

Comments
 (0)