Mapsd: disable threading on PC too (#30396)

single threaded rendering
old-commit-hash: 9257066c4e
This commit is contained in:
Justin Newberry
2023-11-06 19:36:48 -05:00
committed by GitHub
parent 24906c79b4
commit ad64c19015

View File

@@ -24,5 +24,6 @@ public:
static void config_cpu_rendering() {
setenv("QT_QPA_PLATFORM", "offscreen", 1);
setenv("__GLX_VENDOR_LIBRARY_NAME", "mesa", 1);
setenv("LP_NUM_THREADS", "0", 1); // disable threading so we stay on our assigned CPU
}
};