diff options
| author | Derek Foreman <manmower@gmail.com> | 2003-03-26 02:19:38 +0000 |
|---|---|---|
| committer | Derek Foreman <manmower@gmail.com> | 2003-03-26 02:19:38 +0000 |
| commit | 2880e674eaa66b2d5639157e4506b404e2b183ad (patch) | |
| tree | c806d3ac1c7eeed6fc1687e28021f93613fcf4c1 /render/mask.h | |
| parent | 4840f7e837d5f74f8c20d600c90936e954afa8a0 (diff) | |
add a Rect to the textures for positioning them
Diffstat (limited to 'render/mask.h')
| -rw-r--r-- | render/mask.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/mask.h b/render/mask.h index 4d2144e2..323e82e3 100644 --- a/render/mask.h +++ b/render/mask.h @@ -2,9 +2,10 @@ #define __mask_h #include "render.h" +#include "../kernel/geom.h" pixmap_mask *pixmap_mask_new(int w, int h, char *data); void pixmap_mask_free(pixmap_mask *m); -void mask_draw(Pixmap p, TextureMask *m, int width, int height); +void mask_draw(Pixmap p, TextureMask *m, Rect *position); #endif |
