Skip to content

Commit 8787cfe

Browse files
committed
Fix back creation for empty cubemaps
1 parent a76f61a commit 8787cfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/graphics/webgl/webgl-texture.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ class WebglTexture {
561561
resMult = 1 / Math.pow(2, mipLevel);
562562
for (face = 0; face < texture.slices; face++) {
563563
const texData = mipObject[face];
564-
if (!texture._levelsUpdated[0][face] || !texData)
564+
if (!texture._levelsUpdated[0][face])
565565
continue;
566566
}
567567

0 commit comments

Comments
 (0)