Procházet zdrojové kódy

One line change, make rendering far more efficient.

master
Josh Hofing před 11 roky
rodič
revize
ecd30d5f7e
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +2
    -1
      src/Render.java

+ 2
- 1
src/Render.java Zobrazit soubor

@@ -201,7 +201,8 @@ public class Render extends Canvas implements Runnable, MouseListener,
}
public void draw(int x, int y, int color) {
_pixels[x + y * width] = color;
//if (_pixels[x + y * width] != color)
_pixels[x + y * width] = color;
}
public void clear() {


Načítá se…
Zrušit
Uložit