Browse Source

Don't miss first work item.

Con Kolivas 14 years ago
parent
commit
57f5893f4a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      main.c

+ 1 - 0
main.c

@@ -1676,6 +1676,7 @@ static void *gpuminer_thread(void *userdata)
 			"gpu mining thread %d", mythr->id);
 		goto out;
 	}
+	mythr->best_g = ~0;
 	mythr->cgpu->getworks++;
 	work->thr_id = thr_id;
 	requested = false;