1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 16:24:12 +01:00

[dxvk] Remove unnecessary Parameter (#465)

This commit is contained in:
N00byKing 2018-06-29 21:37:25 +02:00 committed by Philip Rebohle
parent bc1384b7b4
commit 26d7059579
2 changed files with 5 additions and 5 deletions

View File

@ -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()) {

View File

@ -51,7 +51,7 @@ namespace dxvk {
std::queue<PipelineEntry> m_compilerQueue;
std::vector<std::thread> m_compilerThreads;
void runCompilerThread(uint32_t workerId);
void runCompilerThread();
};