aboutsummaryrefslogtreecommitdiff
path: root/Plugins/black.c
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/black.c')
-rw-r--r--Plugins/black.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/Plugins/black.c b/Plugins/black.c
new file mode 100644
index 0000000..3716767
--- /dev/null
+++ b/Plugins/black.c
@@ -0,0 +1,13 @@
+#include <stdlib.h>
+#include "plugin.h"
+
+void perform_effect(_frame f, _args a)
+{
+ memset(f.bits, 0, f.height*f.lpitch);
+}
+
+void perform_copy(_frame f1, _frame f2, _args a)
+{
+ memset(f1.bits, 0, f1.height*f1.lpitch);
+ memset(f2.bits, 0, f2.height*f2.lpitch);
+}