1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

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.
This commit is contained in:
Noel Maersk 2014-01-19 02:46:21 +02:00
parent 1049af3a04
commit 9d0b7f9658

View File

@ -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 {