Commit 6d4476bba2300be7aed94306a1ac78db5f863898

Con Kolivas 2011-07-12T00:54:42

Use correct variable in initialisation.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/main.c b/main.c
index 977288d..d1d0b77 100644
--- a/main.c
+++ b/main.c
@@ -1740,7 +1740,7 @@ int main (int argc, char *argv[])
 
 #ifdef HAVE_OPENCL
 	for (i = 0; i < 16; i++)
-		gpu_devices[true] = false;
+		gpu_devices[i] = false;
 	nDevs = clDevicesNum();
 	if (nDevs < 0)
 		return 1;