From 4d5885d271d4943636e7e775492e8f4bd7fe8a84 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 29 Mar 2003 21:12:47 +0000 Subject: add pixmap_mask_copy, and add the data to the mask struct, since it is needed for allowing copies --- render/mask.h | 1 + 1 file changed, 1 insertion(+) (limited to 'render/mask.h') diff --git a/render/mask.h b/render/mask.h index 323e82e3..89716f85 100644 --- a/render/mask.h +++ b/render/mask.h @@ -5,6 +5,7 @@ #include "../kernel/geom.h" pixmap_mask *pixmap_mask_new(int w, int h, char *data); +pixmap_mask *pixmap_mask_copy(pixmap_mask *src); void pixmap_mask_free(pixmap_mask *m); void mask_draw(Pixmap p, TextureMask *m, Rect *position); -- cgit v1.2.3