mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-10-29 12:15:33 +00:00
Merge pull request #319 from zeux/timer-tsan
Ensure interval_timer is initialized from main thread
This commit is contained in:
@@ -187,6 +187,8 @@ namespace basisu
|
||||
opencl_init(opencl_force_serialization);
|
||||
}
|
||||
|
||||
interval_timer::init(); // make sure interval_timer globals are initialized from main thread to avoid TSAN reports
|
||||
|
||||
g_library_initialized = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user