From e745baec8b5ad2b647ee42c41e62c634246b13bf Mon Sep 17 00:00:00 2001
From: Gary Frost <frost.gary@gmail.com>
Date: Wed, 24 Oct 2012 21:51:38 +0000
Subject: [PATCH]
---
samples/mandel/src/com/amd/aparapi/sample/mandel/Main.java | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
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 b4e4de51..0b39ef9d 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];
--
GitLab