Moved gd[] out of global vars
This commit is contained in:
parent
7e68dd7c21
commit
1dfb9c4f91
|
@ -109,7 +109,6 @@ int[][] screenData = new int[displays.length][],
|
||||||
pixelOffset = new int[leds.length][256];
|
pixelOffset = new int[leds.length][256];
|
||||||
PImage[] preview = new PImage[displays.length];
|
PImage[] preview = new PImage[displays.length];
|
||||||
Serial port;
|
Serial port;
|
||||||
GraphicsDevice[] gd;
|
|
||||||
DisposeHandler dh; // For disabling LEDs on exit
|
DisposeHandler dh; // For disabling LEDs on exit
|
||||||
|
|
||||||
// INITIALIZATION ------------------------------------------------------------
|
// INITIALIZATION ------------------------------------------------------------
|
||||||
|
@ -117,6 +116,7 @@ DisposeHandler dh; // For disabling LEDs on exit
|
||||||
void setup() {
|
void setup() {
|
||||||
GraphicsEnvironment ge;
|
GraphicsEnvironment ge;
|
||||||
GraphicsConfiguration[] gc;
|
GraphicsConfiguration[] gc;
|
||||||
|
GraphicsDevice[] gd;
|
||||||
int d, i, totalWidth, maxHeight, row, col, rowOffset;
|
int d, i, totalWidth, maxHeight, row, col, rowOffset;
|
||||||
float f, startX, curX, curY, incX, incY;
|
float f, startX, curX, curY, incX, incY;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue