X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fllvmpipe%2Flp_screen.c;h=d03c04504332e81b75940cfa0023816e4e5cac52;hp=4bbedf9215e1e41053464c2c5e46c56067b95e13;hb=e740e7a6f018738b02ce97db172d6749feeadce1;hpb=8c63348c946822da3fda26afbd441adc063e091a diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 4bbedf9215e..d03c0450433 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -703,7 +703,7 @@ llvmpipe_create_screen(struct sw_winsys *winsys) llvmpipe_init_screen_resource_funcs(&screen->base); screen->num_threads = util_cpu_caps.nr_cpus > 1 ? util_cpu_caps.nr_cpus : 0; -#ifdef PIPE_SUBSYSTEM_EMBEDDED +#ifdef EMBEDDED_DEVICE screen->num_threads = 0; #endif screen->num_threads = debug_get_num_option("LP_NUM_THREADS", screen->num_threads);