瀏覽代碼

Examples: Fix argument passed to copyTextureToTexture (#28419)

Nathan Bierema 1 年之前
父節點
當前提交
a49326c7f1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/webgpu_materials_texture_partialupdate.html

+ 1 - 1
examples/webgpu_materials_texture_partialupdate.html

@@ -110,7 +110,7 @@
 
 
 					// perform copy from src to dest texture to a random position
 					// perform copy from src to dest texture to a random position
 
 
-					renderer.copyTextureToTexture( dataTexture, diffuseMap, new THREE.Vector2(), position );
+					renderer.copyTextureToTexture( dataTexture, diffuseMap, null, position );
 
 
 				}
 				}