X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2Fgfxutil.c;h=a8d7edce8387d364e949b112053bf81ae70d961b;hp=811915ed7530b09156bae68d5d85c9ac52ea73a3;hb=7cffbf057545fb303ad8f53e432ef42f7708e16d;hpb=13f4229ee540e22a5f3ede4d345ae1269cd708d3 diff --git a/src/gfxutil.c b/src/gfxutil.c index 811915e..a8d7edc 100644 --- a/src/gfxutil.c +++ b/src/gfxutil.c @@ -1,3 +1,4 @@ +#include #include "gfxutil.h" #include "demo.h" @@ -144,45 +145,99 @@ void draw_line(int x0, int y0, int x1, int y1, unsigned short color) } +#define BLUR(w, h, pstep, sstep) \ + for(i=0; i