diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-04-18 18:38:29 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-04-18 18:51:28 +0200 |
commit | c185a8db9d157fabb02abf71df498b618f0fd025 (patch) | |
tree | dca64cb24d4448de00cb74319256f538d0e81b5b /gst/goom/convolve_fx.c | |
parent | 5c52506d0746816aa8392d8409794e7874200d70 (diff) |
goom: ff and iff are only used in a '#ifdef DRAW_MOTIF' block.
Diffstat (limited to 'gst/goom/convolve_fx.c')
-rw-r--r-- | gst/goom/convolve_fx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/goom/convolve_fx.c b/gst/goom/convolve_fx.c index fd148041..9c29192e 100644 --- a/gst/goom/convolve_fx.c +++ b/gst/goom/convolve_fx.c @@ -283,12 +283,14 @@ convolve_apply (VisualFX * _this, Pixel * src, Pixel * dest, PluginInfo * info) { ConvData *data = (ConvData *) _this->fx_data; +#ifdef DRAW_MOTIF float ff; int iff; ff = (FVAL (data->factor_p) * FVAL (data->factor_adj_p) + FVAL (data->light)) / 100.0f; iff = (unsigned int) (ff * 256); +#endif { double fcycle = (double) info->cycle; |