Selaa lähdekoodia

make uploadTextures not blocking

Nicolas Cannasse 2 kuukautta sitten
vanhempi
commit
12e76ed1f8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      hxd/impl/AsyncLoader.hx

+ 1 - 1
hxd/impl/AsyncLoader.hx

@@ -23,7 +23,7 @@ class ThreadAsyncLoader implements AsyncLoader {
 		deque = new sys.thread.Deque();
 		lock = new sys.thread.Lock();
 		sys.thread.Thread.create(threadLoop);
-		haxe.MainLoop.add(uploadTextures);
+		haxe.MainLoop.add(uploadTextures).isBlocking = false;
 	}
 
 	function threadLoop() {