Skip to content

Commit

Permalink
events: update: call renderer update, makes cairo handle correctly ne…
Browse files Browse the repository at this point in the history
…w frames
  • Loading branch information
arturoc committed Jul 19, 2011
1 parent e89d650 commit 9a3d036
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libs/openFrameworks/events/ofEvents.cpp
Expand Up @@ -2,6 +2,7 @@
#include "ofAppRunner.h"
#include "ofBaseApp.h"
#include "ofUtils.h"
#include "ofGraphics.h"
#include <set>

// core events instance & arguments
Expand Down Expand Up @@ -78,6 +79,8 @@ void ofNotifySetup(){

//------------------------------------------
void ofNotifyUpdate(){
ofGetCurrentRenderer()->update();

ofBaseApp * ofAppPtr = ofGetAppPtr();

if(ofAppPtr){
Expand Down

0 comments on commit 9a3d036

Please sign in to comment.