gbasys

diff src/gfx.h @ 3:06726f0b8cd3

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 08 Mar 2012 14:37:17 +0200
parents e3dc7705ad9c
children f77381b12726
line diff
     1.1 --- a/src/gfx.h	Wed Mar 07 06:11:51 2012 +0200
     1.2 +++ b/src/gfx.h	Thu Mar 08 14:37:17 2012 +0200
     1.3 @@ -51,6 +51,8 @@
     1.4  void clear_buffer(struct pixel_buffer *pbuf, unsigned short color);
     1.5  
     1.6  void copy_buffer(const struct pixel_buffer *src, struct pixel_buffer *dst);
     1.7 +void blit(struct pixel_buffer *src, int src_x, int src_y, int src_w, int src_h,
     1.8 +		struct pixel_buffer *dst, int dest_x, int dest_y);
     1.9  
    1.10  #define wait_vsync()	while(*((volatile unsigned short*)0x4000006) < front_buffer->y)
    1.11