summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Dennedy <dan@dennedy.org>2016-11-12 06:51:38 (GMT)
committer GitHub <noreply@github.com>2016-11-12 06:51:38 (GMT)
commitc0ea86024ddbc4583d26edf84cb40c316eb3a09b (patch)
treee2774c386a4178e0fb015ccb4d13ee45da610d47
parentb99e9303c78baf1bf3405d4fb24b940aaa6d6e9d (diff)
parentd362eca6c2f25aa1368904827c7644c02b45c7a3 (diff)
Merge pull request #9 from sofian/master
Fixed: blend_factor was uninitialized in blend plugin.
-rw-r--r--src/mixer2/blend/blend.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mixer2/blend/blend.cpp b/src/mixer2/blend/blend.cpp
index f82c89e..d7a737c 100644
--- a/src/mixer2/blend/blend.cpp
+++ b/src/mixer2/blend/blend.cpp
@@ -29,6 +29,7 @@ class blend : public frei0r::mixer2
public:
blend(unsigned int width, unsigned int height)
{
+ blend_factor = 0.5;
register_param(blend_factor,"blend","blend factor");
}