Add support for running engine with a single-thread only (content, jobs, drawing, physics)

This commit is contained in:
Wojtek Figat
2026-02-16 16:10:31 +01:00
parent 6f13a33be2
commit d1557e5292
6 changed files with 123 additions and 12 deletions

View File

@@ -14,7 +14,7 @@
#endif
#include "Engine/Scripting/Internal/InternalCalls.h"
#define JOB_SYSTEM_ENABLED 1
#define JOB_SYSTEM_ENABLED (PLATFORM_THREADS_LIMIT > 1)
#if JOB_SYSTEM_ENABLED