Mr.doob преди 7 години
родител
ревизия
8e6d013731
променени са 2 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 0 0
      examples/js/workers/OffscreenCanvas.js
  2. 1 1
      examples/webgl_worker_offscreencanvas.html

+ 0 - 0
examples/worker/offscreenCanvas.js → examples/js/workers/OffscreenCanvas.js


+ 1 - 1
examples/webgl_worker_offscreencanvas.html

@@ -59,7 +59,7 @@
 		if ( canvas.transferControlToOffscreen !== undefined ) {
 
 			var offscreen = canvas.transferControlToOffscreen();
-			var worker = new Worker( 'worker/offscreenCanvas.js' );
+			var worker = new Worker( 'js/worker/OffscreenCanvas.js' );
 
 			worker.postMessage( {
 				drawingSurface: offscreen,