Procházet zdrojové kódy

WebGPUTextures: Clean up.

Mugen87 před 4 roky
rodič
revize
3d8f432c6b
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  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,
 			{
 			{