diff --git a/livecode.cpp b/livecode.cpp index a66bbd2..979ab7e 100644 --- a/livecode.cpp +++ b/livecode.cpp @@ -17,7 +17,7 @@ class testApp: public ofBaseApp { void draw() { for(int j = 0; j < 10; j++) { - ofSetColor(j*25, 100-j*10, 100-j*25, 150); + ofSetColor(j*25, 20-j*10, 100-j*25, 255); ofBeginShape(); ofVertex(ofGetWidth(), 0); diff --git a/main.cpp b/main.cpp index 6b748b6..ea41a08 100644 --- a/main.cpp +++ b/main.cpp @@ -18,6 +18,7 @@ ofBaseApp *app = new ofBaseApp(); void reload() { // don't forget to clean up if(livecodeLib!=NULL) { + app->exit(); delete app; dlclose(livecodeLib); }