From 0b464d3f6ece6ff41d2f8037d09ddb5eb3f2503e Mon Sep 17 00:00:00 2001 From: Dennis Brakhane Date: Mon, 10 Mar 2025 19:07:31 +0100 Subject: [PATCH] linux: add missing break to get rid of error message Streaming recently got its own priority, but due to the missing break, Low priority threads would fall through, causing the call to fail since processes cannot increase their priority. Therefore, the behaviour doesn't really change except for the error going away. --- WickedEngine/wiJobSystem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/WickedEngine/wiJobSystem.cpp b/WickedEngine/wiJobSystem.cpp index 1cec9105f..c930f24de 100644 --- a/WickedEngine/wiJobSystem.cpp +++ b/WickedEngine/wiJobSystem.cpp @@ -204,6 +204,7 @@ namespace wi::jobsystem { perror("setpriority"); } + break; case Priority::Streaming: if (setpriority(PRIO_PROCESS, 0, 2) != 0) {