Moved gd[] out of global vars

This commit is contained in:
Paint Your Dragon 2011-11-21 12:39:18 -08:00
parent 7e68dd7c21
commit 1dfb9c4f91
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,6 @@ int[][] screenData = new int[displays.length][],
pixelOffset = new int[leds.length][256];
PImage[] preview = new PImage[displays.length];
Serial port;
GraphicsDevice[] gd;
DisposeHandler dh; // For disabling LEDs on exit
// INITIALIZATION ------------------------------------------------------------
@ -117,6 +116,7 @@ DisposeHandler dh; // For disabling LEDs on exit
void setup() {
GraphicsEnvironment ge;
GraphicsConfiguration[] gc;
GraphicsDevice[] gd;
int d, i, totalWidth, maxHeight, row, col, rowOffset;
float f, startX, curX, curY, incX, incY;