Explorar el Código

One line change, make rendering far more efficient.

master
Josh Hofing hace 11 años
padre
commit
ecd30d5f7e
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      src/Render.java

+ 2
- 1
src/Render.java Ver fichero

@@ -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() {


Cargando…
Cancelar
Guardar