mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
VideoCommon: Migrate over to fmt
Migrates off the printf-based formatting where applicable.
This commit is contained in:
@ -122,7 +122,7 @@ bool AsyncShaderCompiler::StartWorkerThreads(u32 num_worker_threads)
|
||||
void* thread_param = nullptr;
|
||||
if (!WorkerThreadInitMainThread(&thread_param))
|
||||
{
|
||||
WARN_LOG(VIDEO, "Failed to initialize shader compiler worker thread.");
|
||||
WARN_LOG_FMT(VIDEO, "Failed to initialize shader compiler worker thread.");
|
||||
break;
|
||||
}
|
||||
|
||||
@ -133,7 +133,7 @@ bool AsyncShaderCompiler::StartWorkerThreads(u32 num_worker_threads)
|
||||
|
||||
if (!m_worker_thread_start_result.load())
|
||||
{
|
||||
WARN_LOG(VIDEO, "Failed to start shader compiler worker thread.");
|
||||
WARN_LOG_FMT(VIDEO, "Failed to start shader compiler worker thread.");
|
||||
thr.join();
|
||||
break;
|
||||
}
|
||||
@ -198,7 +198,7 @@ void AsyncShaderCompiler::WorkerThreadEntryPoint(void* param)
|
||||
// Initialize worker thread with backend-specific method.
|
||||
if (!WorkerThreadInitWorkerThread(param))
|
||||
{
|
||||
WARN_LOG(VIDEO, "Failed to initialize shader compiler worker.");
|
||||
WARN_LOG_FMT(VIDEO, "Failed to initialize shader compiler worker.");
|
||||
m_worker_thread_start_result.store(false);
|
||||
m_init_event.Set();
|
||||
return;
|
||||
|
Reference in New Issue
Block a user