diff options
Diffstat (limited to 'rotord/src/nodes_source.h')
| -rw-r--r-- | rotord/src/nodes_source.h | 2 |
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; |
