X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2Fgfxutil.c;h=a8d7edce8387d364e949b112053bf81ae70d961b;hp=37eb4c5ea12d2fcb244836615f4c4ea949bb4c08;hb=7cffbf057545fb303ad8f53e432ef42f7708e16d;hpb=68f89fa06ae5cfacde9cf8310e97220e5fc05260 diff --git a/src/gfxutil.c b/src/gfxutil.c index 37eb4c5..a8d7edc 100644 --- a/src/gfxutil.c +++ b/src/gfxutil.c @@ -1,3 +1,4 @@ +#include #include "gfxutil.h" #include "demo.h" @@ -215,3 +216,28 @@ void convimg_rgb24_rgb16(uint16_t *dest, unsigned char *src, int xsz, int ysz) *dest++ = PACK_RGB16(r, g, b); } } + +void blitfb(uint16_t *dest, uint16_t *src, int width, int height, int pitch_pix) +{ + int i; + for(i=0; i