Преглед на файлове

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
 
-					renderer.copyTextureToTexture( dataTexture, diffuseMap, new THREE.Vector2(), position );
+					renderer.copyTextureToTexture( dataTexture, diffuseMap, null, position );
 
 				}