Mapsd: disable threading on PC too (#30396)

single threaded rendering
This commit is contained in:
Justin Newberry
2023-11-06 19:36:48 -05:00
committed by GitHub
parent d2c3c92fb4
commit 9257066c4e
+1
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
}
};