From f9834be2d2b518e8da630cd815867feb203b8cd9 Mon Sep 17 00:00:00 2001 From: Rick Companje Date: Thu, 10 Mar 2016 08:37:20 +0100 Subject: [PATCH] removed deprecated function names from example --- example-threaded/src/ofApp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example-threaded/src/ofApp.cpp b/example-threaded/src/ofApp.cpp index 2ca12fe..033f379 100644 --- a/example-threaded/src/ofApp.cpp +++ b/example-threaded/src/ofApp.cpp @@ -68,14 +68,14 @@ void ofApp::draw(){ ofBackground(0); if(playing){ //get the frame based on the current time and draw it - sequence.getFrameForTime(ofGetElapsedTimef())->draw(0,0); + sequence.getTextureForTime(ofGetElapsedTimef())->draw(0,0); } else { //get the sequence frame that maps to the mouseX position float percent = ofMap(mouseX, 0, ofGetWidth(), 0, 1.0, true); //draw it. - sequence.getFrameAtPercent(percent)->draw(0, 0); + sequence.getTextureForPercent(percent)->draw(0, 0); } } }