Browse files

Merge pull request #578 from aramgre/patch-1

Add description for ofSetVerticalSync
  • Loading branch information...
2 parents 5e4bca4 + 8fc7f5e commit 2b8a3e28791770a9f932cbe75a22482dbe5bde97 @jvcleave jvcleave committed on GitHub Jan 9, 2017
Showing with 2 additions and 1 deletion.
  1. +2 −1 documentation/application/ofAppRunner_functions.markdown
@@ -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](
+Vertical sync is enabled by default since 0.8.0. You can disable it calling ofSetVerticalSync(false).

0 comments on commit 2b8a3e2

Please sign in to comment.