diff --git a/samples/mandel/src/com/amd/aparapi/sample/mandel/Main.java b/samples/mandel/src/com/amd/aparapi/sample/mandel/Main.java index b4e4de511ed0fb7d4b7b8d978cab04d42b80f840..0b39ef9d7227c0742b51ca9d1ce65adb85ef2970 100644 --- a/samples/mandel/src/com/amd/aparapi/sample/mandel/Main.java +++ b/samples/mandel/src/com/amd/aparapi/sample/mandel/Main.java @@ -123,8 +123,7 @@ public class Main{ } - public int getCount(float x, float y, int maxIterations){ - + public int getCount(float x, float y){ int count =0; float zx = x; float zy = y; @@ -150,9 +149,7 @@ public class Main{ float y = (((gid / width * scale) - ((scale / 2) * height)) / height) + offsety; - int count = getCount(x,y,maxIterations); - - + int count = getCount(x,y); // Pull the value out of the palette for this iteration count. rgb[gid] = pallette[count];