summaryrefslogtreecommitdiff
path: root/rotord/src/rendercontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src/rendercontext.h')
-rw-r--r--rotord/src/rendercontext.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/rotord/src/rendercontext.h b/rotord/src/rendercontext.h
index bd37c53..8542bf1 100644
--- a/rotord/src/rendercontext.h
+++ b/rotord/src/rendercontext.h
@@ -76,7 +76,7 @@ namespace Rotor {
if (renders.find(uid)!=renders.end()){
if (renders[uid].status==RENDERING){
- renders[uid].progress=progress;
+ renders[uid].progress=graph.progress;
}
return renders[uid];
}
@@ -84,7 +84,6 @@ namespace Rotor {
};
private:
int state;
- float progress; //for a locking process: audio analysis or rendering
//thread only does one thing at once
std::deque<Session_task> work_queue;
std::unordered_map<string,Render_status> renders;