Permalink
Browse files

events: update: call renderer update, makes cairo handle correctly ne…

…w frames
  • Loading branch information...
arturoc committed Jul 19, 2011
1 parent e89d650 commit 9a3d036f58e81ca7727af0ca48967a0cf37ca058
Showing with 3 additions and 0 deletions.
  1. +3 −0 libs/openFrameworks/events/ofEvents.cpp
@@ -2,6 +2,7 @@
#include "ofAppRunner.h"
#include "ofBaseApp.h"
#include "ofUtils.h"
+#include "ofGraphics.h"
#include <set>
// core events instance & arguments
@@ -78,6 +79,8 @@ void ofNotifySetup(){
//------------------------------------------
void ofNotifyUpdate(){
+ ofGetCurrentRenderer()->update();
+
ofBaseApp * ofAppPtr = ofGetAppPtr();
if(ofAppPtr){

0 comments on commit 9a3d036

Please sign in to comment.