2
0
Michael Herzog 3 жил өмнө
parent
commit
fde01b87be

+ 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;