From 26d7059579b14705204b8a60b7b5cd0a8f0c76f2 Mon Sep 17 00:00:00 2001 From: N00byKing Date: Fri, 29 Jun 2018 21:37:25 +0200 Subject: [PATCH] [dxvk] Remove unnecessary Parameter (#465) --- src/dxvk/dxvk_pipecompiler.cpp | 6 +++--- src/dxvk/dxvk_pipecompiler.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dxvk/dxvk_pipecompiler.cpp b/src/dxvk/dxvk_pipecompiler.cpp index f25bdbbf..7db0f5f9 100644 --- a/src/dxvk/dxvk_pipecompiler.cpp +++ b/src/dxvk/dxvk_pipecompiler.cpp @@ -14,7 +14,7 @@ namespace dxvk { for (uint32_t i = 0; i < threadCount; i++) { m_compilerThreads.at(i) = std::thread( - [this, i] { this->runCompilerThread(i); }); + [this] { this->runCompilerThread(); }); } } @@ -39,7 +39,7 @@ namespace dxvk { } - void DxvkPipelineCompiler::runCompilerThread(uint32_t workerId) { + void DxvkPipelineCompiler::runCompilerThread() { env::setThreadName(L"dxvk-pcompiler"); while (!m_compilerStop.load()) { @@ -63,4 +63,4 @@ namespace dxvk { } } -} \ No newline at end of file +} diff --git a/src/dxvk/dxvk_pipecompiler.h b/src/dxvk/dxvk_pipecompiler.h index 8312494d..13b1d921 100644 --- a/src/dxvk/dxvk_pipecompiler.h +++ b/src/dxvk/dxvk_pipecompiler.h @@ -51,8 +51,8 @@ namespace dxvk { std::queue m_compilerQueue; std::vector m_compilerThreads; - void runCompilerThread(uint32_t workerId); + void runCompilerThread(); }; -} \ No newline at end of file +}