Просмотр исходного кода

WebGPUBackend: Fix `copyFramebufferToTexture`() generated mipmaps twice

sunag 1 год назад
Родитель
Сommit
36ea6dbc72
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      src/renderers/webgpu/WebGPUBackend.js

+ 0 - 2
src/renderers/webgpu/WebGPUBackend.js

@@ -2356,8 +2356,6 @@ class WebGPUBackend extends Backend {
 			]
 		);
 
-		if ( texture.generateMipmaps ) this.textureUtils.generateMipmaps( texture );
-
 		if ( renderContextData.currentPass ) {
 
 			const { descriptor } = renderContextData;

粤ICP备19079148号