diff options
| author | tim <tim@eclectronics.org> | 2017-03-28 23:33:42 +0100 |
|---|---|---|
| committer | tim <tim@eclectronics.org> | 2017-03-28 23:33:42 +0100 |
| commit | 3f2cfe8ba337a776f91f785010ff3bc1c43dc6f9 (patch) | |
| tree | 075d61206283d48502ddf81b5a193499906c92d0 /menuApp/src/ofApp.cpp | |
| parent | 8d671c4c77f41b0991fb6005d24736dccbe36cfd (diff) | |
move factor to config
Diffstat (limited to 'menuApp/src/ofApp.cpp')
| -rw-r--r-- | menuApp/src/ofApp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/menuApp/src/ofApp.cpp b/menuApp/src/ofApp.cpp index 44ebf68..1aadaec 100644 --- a/menuApp/src/ofApp.cpp +++ b/menuApp/src/ofApp.cpp @@ -74,7 +74,7 @@ void ofApp::draw(){ ofSetColor(255,255,255); ofPushMatrix(); //Store the coordinate system nexessary for some reason - background.draw(0,0,1080,1920); //ofGetWidth(),ofGetHeight()); + background.draw(0,0,1080*FACTOR,1920*FACTOR); //ofGetWidth(),ofGetHeight()); ofPopMatrix(); //Restore the coordinate system @@ -116,7 +116,7 @@ ofPopMatrix(); //Restore the coordinate system } ofEnableAlphaBlending(); - overlay.draw(0,0,1080,1920); //ofGetWidth(),ofGetHeight()); + overlay.draw(0,0,1080*FACTOR,1920*FACTOR); //ofGetWidth(),ofGetHeight()); ofDisableAlphaBlending(); float t=ofGetElapsedTimef (); |
