Skip to content

Commit

Permalink
Add description for ofSetVerticalSync
Browse files Browse the repository at this point in the history
  • Loading branch information
aramgre committed Jan 7, 2017
1 parent 45a6ec3 commit 8fc7f5e
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 8fc7f5e

Please sign in to comment.