From ccde13649aa016c868f262a3b53c01971eb9f647 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Wed, 21 Oct 2015 19:18:11 +0200 Subject: [PATCH] Replace `addFboSource()` with `registerFboSource()` and refactor a bit --- example/src/ofApp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/src/ofApp.cpp b/example/src/ofApp.cpp index 455331b..c71f9fb 100755 --- a/example/src/ofApp.cpp +++ b/example/src/ofApp.cpp @@ -9,8 +9,8 @@ void ofApp::setup() { // a surface in XML settings. crossSource = new CrossSource(); customSource = new CustomSource(); - piMapper.addFboSource(*crossSource); - piMapper.addFboSource(*customSource); + piMapper.registerFboSource(*crossSource); + piMapper.registerFboSource(*customSource); piMapper.setup(); // The info layer is hidden by default, press to toggle