diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-29 21:12:47 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-29 21:12:47 +0000 |
| commit | 4d5885d271d4943636e7e775492e8f4bd7fe8a84 (patch) | |
| tree | a548aa57166bc0e049be96c5889ea8b98ad321e3 /render/mask.h | |
| parent | 2b4ab6753cf76f735f211b42e688a5e60d65b6f3 (diff) | |
add pixmap_mask_copy, and add the data to the mask struct, since it is needed for allowing copies
Diffstat (limited to 'render/mask.h')
| -rw-r--r-- | render/mask.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
