Mercurial > hg > minimon
diff common.h @ 8:66c77f9ba9b9
convert rgba -> rgb
author | Peter Meerwald <pmeerw@pmeerw.net> |
---|---|
date | Sat, 14 May 2011 21:05:59 +0200 |
parents | 5ff6a67e1421 |
children | 078dc69945ad |
line wrap: on
line diff
--- a/common.h Tue May 10 19:22:13 2011 +0200 +++ b/common.h Sat May 14 21:05:59 2011 +0200 @@ -6,6 +6,6 @@ unsigned char *ptr; } jpg_buf_t; -jpg_buf_t build_jpg_from_fb(int fb, int width, int height); +jpg_buf_t build_jpg_from_fb(unsigned char *fb_mem, int width, int height, int bits_per_pixel); #endif