Skip to content

Commit a15f721

Browse files
committed
Fix back creation for empty cubemaps
1 parent 42a9abf commit a15f721

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ class WebglTexture {
542542
resMult = 1 / Math.pow(2, mipLevel);
543543
for (face = 0; face < texture.slices; face++) {
544544
const texData = mipObject[face];
545-
if (!texture._levelsUpdated[0][face] || !texData)
545+
if (!texture._levelsUpdated[0][face])
546546
continue;
547547

548548
if (texture._compressed) {

0 commit comments

Comments
 (0)