aboutsummaryrefslogtreecommitdiff
path: root/cl
diff options
context:
space:
mode:
Diffstat (limited to 'cl')
-rw-r--r--cl/mandelbrot.cl4
1 files changed, 2 insertions, 2 deletions
diff --git a/cl/mandelbrot.cl b/cl/mandelbrot.cl
index 8617ae5..d72148f 100644
--- a/cl/mandelbrot.cl
+++ b/cl/mandelbrot.cl
@@ -1,11 +1,11 @@
__kernel void fractal_gen(
__global unsigned char *buffer,
const unsigned int size,
- const unsigned long iterations)
+ const unsigned int iterations)
{
unsigned int x = get_global_id(0);
unsigned int y = get_global_id(1);
- unsigned long i = 0;
+ unsigned int i = 0;
float a = -2.5+(((float)x)/size)*3.5;
float b = -1.75+(((float)y)/size)*3.5;