Explorar el Código

make uploadTextures not blocking

Nicolas Cannasse hace 2 meses
padre
commit
12e76ed1f8
Se han modificado 1 ficheros con 1 adiciones y 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();
 		lock = new sys.thread.Lock();
 		sys.thread.Thread.create(threadLoop);
-		haxe.MainLoop.add(uploadTextures);
+		haxe.MainLoop.add(uploadTextures).isBlocking = false;
 	}
 
 	function threadLoop() {