aboutsummaryrefslogtreecommitdiff
path: root/cl/mandelbrot.cl
diff options
context:
space:
mode:
Diffstat (limited to 'cl/mandelbrot.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 2652108..d72148f 100644
--- a/cl/mandelbrot.cl
+++ b/cl/mandelbrot.cl
@@ -7,8 +7,8 @@ __kernel void fractal_gen(
unsigned int y = get_global_id(1);
unsigned int i = 0;
- float a = -2.5+(((float)x)/(float)size)*3.5;
- float b = -1.75+(((float)y)/(float)size)*3.5;
+ float a = -2.5+(((float)x)/size)*3.5;
+ float b = -1.75+(((float)y)/size)*3.5;
float2 z = (0.0, 0.0);