diff options
Diffstat (limited to 'modules/devices/gpu.c')
-rw-r--r-- | modules/devices/gpu.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/devices/gpu.c b/modules/devices/gpu.c index b999e1fc..05fbac7e 100644 --- a/modules/devices/gpu.c +++ b/modules/devices/gpu.c @@ -217,4 +217,11 @@ void scan_gpu_do(void) { } } gpud_list_free(gpus); + + if (c) + gpu_list = g_strconcat(gpu_list, "[$ShellParam$]\n", "ViewType=1\n", NULL); + else { + /* NO GPU? */ + gpu_list = g_strconcat(gpu_list, _("No GPU devices found"), "=\n", NULL); + } } |