ソースを参照

Examples: Clean up. (#23001)

Michael Herzog 3 年 前
コミット
fde01b87be
1 ファイル変更1 行追加1 行削除
  1. 1 1
      examples/webgpu_sandbox.html

+ 1 - 1
examples/webgpu_sandbox.html

@@ -227,7 +227,7 @@
 
 				}
 
-				const texture = THREE.DataTexture( data, width, height, THREE.RGBAFormat );
+				const texture = new THREE.DataTexture( data, width, height, THREE.RGBAFormat );
 				texture.needsUpdate = true;
 				return texture;