Explorar el Código

WebGPUTextures: Clean up.

Mugen87 hace 5 años
padre
commit
3d8f432c6b
Se han modificado 1 ficheros con 1 adiciones y 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(
 		this.device.defaultQueue.writeTexture(
 			{
 			{
-				texture: textureGPU,
-				mipLevel: 0 // @TODO: Support mipmaps
+				texture: textureGPU
 			},
 			},
 			data,
 			data,
 			{
 			{

粤ICP备19079148号