aboutsummaryrefslogtreecommitdiff
path: root/Plugins/black.c
blob: dbb672f1000812637ac3f3ce1501fe891ee9d652 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdlib.h>
#include "plugin.h"

INFO("total blackness")

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);
}