소스 검색

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;