From 6d4476bba2300be7aed94306a1ac78db5f863898 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 12 Jul 2011 00:54:42 +1000 Subject: [PATCH] Use correct variable in initialisation. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 977288dc..d1d0b77d 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;