Browse Source

make uploadTextures not blocking

Nicolas Cannasse 1 month ago
parent
commit
12e76ed1f8
1 changed files with 1 additions and 1 deletions
  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() {