From 9a3d036f58e81ca7727af0ca48967a0cf37ca058 Mon Sep 17 00:00:00 2001 From: arturo Date: Tue, 19 Jul 2011 02:49:38 +0200 Subject: [PATCH] events: update: call renderer update, makes cairo handle correctly new frames --- libs/openFrameworks/events/ofEvents.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/openFrameworks/events/ofEvents.cpp b/libs/openFrameworks/events/ofEvents.cpp index 9be8b049821..e60a7ce04de 100644 --- a/libs/openFrameworks/events/ofEvents.cpp +++ b/libs/openFrameworks/events/ofEvents.cpp @@ -2,6 +2,7 @@ #include "ofAppRunner.h" #include "ofBaseApp.h" #include "ofUtils.h" +#include "ofGraphics.h" #include // core events instance & arguments @@ -78,6 +79,8 @@ void ofNotifySetup(){ //------------------------------------------ void ofNotifyUpdate(){ + ofGetCurrentRenderer()->update(); + ofBaseApp * ofAppPtr = ofGetAppPtr(); if(ofAppPtr){