Browse Source

Get rid of a useless check that doesn't check the right things anyways.

master
Josh Hofing 12 years ago
parent
commit
8dd74bb794
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      src/Render.java

+ 1
- 4
src/Render.java View File

@@ -158,10 +158,7 @@ public class Render extends Canvas implements Runnable, MouseListener,
for (int i = 0; i < width; i++) {
for (int j = 0; j < height; j++) {
state = _grid.getPatch(i, j).getState();
if (_pixels[i + j * width] == state) {
} else {
draw(i, j, (int) ((state / ((double) states - 1)) * 0xffffff));
}
draw(i, j, (int) ((state / ((double) states - 1)) * 0xffffff));
}
}
}


Loading…
Cancel
Save