index 0fca4509547b918bd93ec117f37e1fdc435bc9f3..32896712cb64c206acf5368cbd800957b67d90b8 100644 (file)
int FilterDiffuseLighting::render(FilterSlot &slot, FilterUnits const &units) {
- NRPixBlock *in = filter_get_alpha(slot.get(_input));
+ NRPixBlock *in = slot.get(_input);
if (!in) {
g_warning("Missing source image for feDiffuseLighting (in=%d)", _input);
return 1;
//finishing
slot.set(_output, out);
- nr_pixblock_release(in);
- delete in;
+ //nr_pixblock_release(in);
+ //delete in;
return 0;
}