Add comment.

This commit is contained in:
Relintai 2021-08-08 13:34:58 +02:00
parent d931a53a13
commit 2e38466015

View File

@ -108,6 +108,7 @@ void TerraTerrarinJob::phase_library_setup() {
return; return;
} }
//Note: without threadpool and threading none of this can happen, as cache will get initialized the first time a thread requests it!
while (!cache->get_initialized()) { while (!cache->get_initialized()) {
//Means it's currently merging the atlases on a different thread. //Means it's currently merging the atlases on a different thread.
//Let's just wait //Let's just wait