From 9d0b7f96586d76f8335a398d064b126d2e5a90e2 Mon Sep 17 00:00:00 2001 From: Noel Maersk Date: Sun, 19 Jan 2014 02:46:21 +0200 Subject: [PATCH] core: Accidentally left a part of a previously non-merged commit (thread display). IMO threads don't change dynamically, so they shouldn't be displayed in the main window, but in "GPU settings" menu instead. --- driver-opencl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver-opencl.c b/driver-opencl.c index 3cc62d54..cb788dc9 100644 --- a/driver-opencl.c +++ b/driver-opencl.c @@ -1120,9 +1120,9 @@ static void get_opencl_statline_before(char *buf, size_t bufsiz, struct cgpu_inf static void get_opencl_statline(char *buf, size_t bufsiz, struct cgpu_info *gpu) { if (gpu->xintensity > 0) - tailsprintf(buf, bufsiz, " xI:%3d", gpu->threads, gpu->xintensity); + tailsprintf(buf, bufsiz, " xI:%3d", gpu->xintensity); else - tailsprintf(buf, bufsiz, " I:%2d", gpu->threads, gpu->intensity); + tailsprintf(buf, bufsiz, " I:%2d", gpu->intensity); } struct opencl_thread_data {