summaryrefslogtreecommitdiff
path: root/rotord/src/nodes_source.h
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-12-08 10:55:03 +0000
committerComment <tim@gray.(none)>2013-12-08 10:55:03 +0000
commit1d05d2380bb4f1fd265aef55744f432af38b08aa (patch)
tree89c1c15497149951d4b99938ad932abde42eae14 /rotord/src/nodes_source.h
parente04516069c71a5a1e32e6a5fbf0eb5b86dcfc5a2 (diff)
switched signals to double and random to uint16
Diffstat (limited to 'rotord/src/nodes_source.h')
-rw-r--r--rotord/src/nodes_source.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rotord/src/nodes_source.h b/rotord/src/nodes_source.h
index 0e37fc7..2659185 100644
--- a/rotord/src/nodes_source.h
+++ b/rotord/src/nodes_source.h
@@ -57,7 +57,7 @@ namespace Rotor {
};
~Signal_greyscale(){};
Image *output(const Frame_spec &frame){
- uint8_t col=((uint8_t)(inputs[0]->get((Time_spec)frame)*255.0f));
+ uint8_t col=((uint8_t)(inputs[0]->get((Time_spec)frame)*255.0));
if (col!=prevcol){ //how about when starting a new render?
//for (int i=0;i<image.w*image.h*3;i++){
// image.RGBdata[i]=col;