From c1021acd838ebc88c0014b012609ea8e3fd644f5 Mon Sep 17 00:00:00 2001 From: David Reid Date: Wed, 2 Jun 2021 18:20:31 +1000 Subject: [PATCH] Fix compilation error. --- research/miniaudio_engine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/research/miniaudio_engine.h b/research/miniaudio_engine.h index 287d6d39..6c0a6542 100644 --- a/research/miniaudio_engine.h +++ b/research/miniaudio_engine.h @@ -6410,7 +6410,7 @@ MA_API ma_result ma_resource_manager_init(const ma_resource_manager_config* pCon /* Create the job threads last to ensure the threads has access to valid data. */ for (iJobThread = 0; iJobThread < pResourceManager->config.jobThreadCount; iJobThread += 1) { - result = ma_thread_create(&pResourceManager->jobThreads[iJobThread], ma_thread_priority_normal, 0, ma_resource_manager_job_thread, &pResourceManager->config.allocationCallbacks); + result = ma_thread_create(&pResourceManager->jobThreads[iJobThread], ma_thread_priority_normal, 0, ma_resource_manager_job_thread, pResourceManager, &pResourceManager->config.allocationCallbacks); if (result != MA_SUCCESS) { ma_mutex_uninit(&pResourceManager->dataBufferBSTLock); ma_job_queue_uninit(&pResourceManager->jobQueue);