summaryrefslogtreecommitdiff
path: root/keyshade/src/ofApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'keyshade/src/ofApp.cpp')
-rw-r--r--keyshade/src/ofApp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyshade/src/ofApp.cpp b/keyshade/src/ofApp.cpp
index 588557a..051fd40 100644
--- a/keyshade/src/ofApp.cpp
+++ b/keyshade/src/ofApp.cpp
@@ -39,7 +39,8 @@ void ofApp::draw(){
shader.setUniformTexture("backgroundTex", backgroundImage.getTexture(), 1 );
shader.setUniformTexture("foregroundTex", foregroundImage.getTexture(), 2 );
- backgroundImage.draw(0, 0,ofGetWidth(),ofGetHeight());
+ foregroundImage.draw(0, 0,ofGetWidth(),ofGetHeight());
+ //seems to make no difference if we draw foreground or background image
shader.end();
}