Explorar o código

WebGPUTextures: Clean up.

Mugen87 %!s(int64=4) %!d(string=hai) anos
pai
achega
3d8f432c6b
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      examples/jsm/renderers/webgpu/WebGPUTextures.js

+ 1 - 2
examples/jsm/renderers/webgpu/WebGPUTextures.js

@@ -389,8 +389,7 @@ class WebGPUTextures {
 
 		this.device.defaultQueue.writeTexture(
 			{
-				texture: textureGPU,
-				mipLevel: 0 // @TODO: Support mipmaps
+				texture: textureGPU
 			},
 			data,
 			{