Skip to content

Commit

Permalink
update multi window example to draw w/2, h/2 instead of w/2, w/2. (#6442
Browse files Browse the repository at this point in the history
)

#changelog #examples
  • Loading branch information
sourya-sen authored and arturoc committed Nov 12, 2019
1 parent 6a3c359 commit 939c823
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/windowing/multiWindowExample/src/ofApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ void ofApp::update(){
//--------------------------------------------------------------
void ofApp::draw(){
ofSetColor(gui->color);
ofDrawCircle(ofGetWidth()*0.5,ofGetWidth()*0.5,gui->radius);
ofDrawCircle(ofGetWidth()*0.5,ofGetHeight()*0.5,gui->radius);
ofSetColor(0);
ofDrawBitmapString(ofGetFrameRate(),20,20);
}
Expand Down
2 changes: 1 addition & 1 deletion examples/windowing/multiWindowOneAppExample/src/ofApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void ofApp::update(){
//--------------------------------------------------------------
void ofApp::draw(){
ofSetColor(color);
ofDrawCircle(ofGetWidth()*0.5,ofGetWidth()*0.5,radius);
ofDrawCircle(ofGetWidth()*0.5,ofGetHeight()*0.5,radius);
ofSetColor(0);
ofDrawBitmapString(ofGetFrameRate(),20,20);
}
Expand Down

0 comments on commit 939c823

Please sign in to comment.