Explorar o código

make uploadTextures not blocking

Nicolas Cannasse hai 1 mes
pai
achega
12e76ed1f8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
 		deque = new sys.thread.Deque();
 		lock = new sys.thread.Lock();
 		lock = new sys.thread.Lock();
 		sys.thread.Thread.create(threadLoop);
 		sys.thread.Thread.create(threadLoop);
-		haxe.MainLoop.add(uploadTextures);
+		haxe.MainLoop.add(uploadTextures).isBlocking = false;
 	}
 	}
 
 
 	function threadLoop() {
 	function threadLoop() {