We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d47d1d8 commit bcbf031Copy full SHA for bcbf031
src/renderers/common/Textures.js
@@ -308,6 +308,8 @@ class Textures extends DataMap {
308
309
if ( options.needsMipmaps && texture.mipmaps.length === 0 ) backend.generateMipmaps( texture );
310
311
+ if ( texture.onUpdate ) texture.onUpdate( texture );
312
+
313
}
314
315
} else {
src/renderers/webgpu/utils/WebGPUTextureUtils.js
@@ -512,8 +512,6 @@ class WebGPUTextureUtils {
512
513
textureData.version = texture.version;
514
515
- if ( texture.onUpdate ) texture.onUpdate( texture );
516
-
517
518
519
/**
0 commit comments