make custom plugins always receive ParamMap

This commit is contained in:
Luna 2020-05-31 21:55:03 -03:00
parent 1c1e525b1d
commit 303a40758d
1 changed files with 1 additions and 2 deletions

View File

@ -422,8 +422,7 @@ pub const Image = struct {
self: *Image,
comptime Plugin: type,
position: plugins.Position,
comptime ExtraType: type,
extra: ExtraType,
extra: *ParamMap,
) !void {
var plugin_opt: ?Plugin = Plugin.init(self.allocator, extra);
if (plugin_opt == null) {