index 38ed3938aec2b8818573ed66c7a349e621ac00a3..33e89ac3eb3bede580cf4aa2cfc76f4ec2733dc9 100644 (file)
#include "display/pixblock-transform.h"
#include "display/nr-filter-gaussian.h"
#include "display/nr-filter-blend.h"
+#include "display/nr-filter-offset.h"
#include "display/nr-arena-item.h"
#include "libnr/nr-pixblock.h"
return 0;
nr_blit_pixblock_pixblock(in, pb);
}
+ in->empty = FALSE;
slot.set(NR_FILTER_SOURCEGRAPHIC, in);
in = NULL; // in is now handled by FilterSlot, we should not touch it
_constructor[NR_FILTER_IMAGE] = NULL;
_constructor[NR_FILTER_MERGE] = NULL;
_constructor[NR_FILTER_MORPHOLOGY] = NULL;
- _constructor[NR_FILTER_OFFSET] = NULL;
+ _constructor[NR_FILTER_OFFSET] = &FilterOffset::create;
_constructor[NR_FILTER_SPECULARLIGHTING] = NULL;
_constructor[NR_FILTER_TILE] = NULL;
_constructor[NR_FILTER_TURBULENCE] = NULL;