浏览代码

WebGPUTextures: Clean up.

Mugen87 4 年之前
父节点
当前提交
3d8f432c6b
共有 1 个文件被更改,包括 1 次插入2 次删除
  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,
 			{