Browse Source

Replace `addFboSource()` with `registerFboSource()` and refactor a bit

master
Krisjanis Rijnieks 10 years ago
parent
commit
ccde13649a
  1. 4
      example/src/ofApp.cpp

4
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 <i> to toggle

Loading…
Cancel
Save