Commit 31f6e8c7828b5adfe46f991a1b00571500db27a6

Con Kolivas 2012-01-28T17:06:28

Unset prog_built after it is patched because it needs rebuilding.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/ocl.c b/ocl.c
index 7e16f60..4e3b341 100644
--- a/ocl.c
+++ b/ocl.c
@@ -600,6 +600,9 @@ build:
 			applog(LOG_ERR, "Error: Retaining Program (clRetainProgram)");
 			return NULL;
 		}
+
+		/* Program needs to be rebuilt */
+		prog_built = false;
 	}
 
 	free(source);