From c0ff120e310092f8d3f553e991be7b9e9e7b6e73 Mon Sep 17 00:00:00 2001 From: Turanszki Janos Date: Tue, 15 Jun 2021 10:18:09 +0200 Subject: [PATCH] thread priorities set to normal --- WickedEngine/wiJobSystem.cpp | 6 +++--- WickedEngine/wiVersion.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/WickedEngine/wiJobSystem.cpp b/WickedEngine/wiJobSystem.cpp index 28e2588d5..3c880b04b 100644 --- a/WickedEngine/wiJobSystem.cpp +++ b/WickedEngine/wiJobSystem.cpp @@ -91,9 +91,9 @@ namespace wiJobSystem DWORD_PTR affinity_result = SetThreadAffinityMask(handle, affinityMask); assert(affinity_result > 0); - // Increase thread priority: - BOOL priority_result = SetThreadPriority(handle, THREAD_PRIORITY_HIGHEST); - assert(priority_result != 0); + //// Increase thread priority: + //BOOL priority_result = SetThreadPriority(handle, THREAD_PRIORITY_HIGHEST); + //assert(priority_result != 0); // Name the thread: std::wstring wthreadname = L"wiJobSystem_" + std::to_wstring(threadID); diff --git a/WickedEngine/wiVersion.cpp b/WickedEngine/wiVersion.cpp index f7f7c7d7b..8a327b15e 100644 --- a/WickedEngine/wiVersion.cpp +++ b/WickedEngine/wiVersion.cpp @@ -9,7 +9,7 @@ namespace wiVersion // minor features, major updates, breaking compatibility changes const int minor = 56; // minor bug fixes, alterations, refactors, updates - const int revision = 36; + const int revision = 37; const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);