Skip to content

Commit

Permalink
Merge pull request #578 from aramgre/patch-1
Browse files Browse the repository at this point in the history
Add description for ofSetVerticalSync
  • Loading branch information
jvcleave committed Jan 9, 2017
2 parents 5e4bca4 + 8fc7f5e commit 2b8a3e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion documentation/application/ofAppRunner_functions.markdown
Expand Up @@ -1661,8 +1661,9 @@ _inlined_description: _

_description: _

Synchronizes the redraw of the screen to the vertical refresh rate of the screen. The monitor or projector redraws the screen at usually 60 frames per second. If vertical sync is not enabled your application runs as fast as possible and the screen can be drawing half of one frame and half of the previous frame, creating an effect called [tearing](https://en.wikipedia.org/wiki/Screen_tearing).


Vertical sync is enabled by default since 0.8.0. You can disable it calling ofSetVerticalSync(false).



Expand Down

0 comments on commit 2b8a3e2

Please sign in to comment.