Created
May 25, 2017 18:29
-
-
Save mmansion/7a8f3051a6b0faf4a95d21352f8342b1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void ofApp::update() | |
{ | |
// snippet start | |
std::stringstream strm; | |
strm << "fps: " << ofGetFrameRate(); | |
ofSetWindowTitle(strm.str()); | |
// snippet end | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment