Mercurial > sdl-ios-xcode
diff src/video/SDL_draw.h @ 2900:3a9636c83849
Make it possible to switch algorithms in the future
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 21 Dec 2008 08:59:56 +0000 |
parents | a0c837a16e4c |
children | 133601e3b255 |
line wrap: on
line diff
--- a/src/video/SDL_draw.h Sun Dec 21 08:55:06 2008 +0000 +++ b/src/video/SDL_draw.h Sun Dec 21 08:59:56 2008 +0000 @@ -322,12 +322,13 @@ } \ } \ } +#define DRAWLINE(x0, y0, x1, y1, op) BRESENHAM(x0, y0, x1, y1, op) /* * Define blend fill macro */ -#define BLENDRECT(type, op) \ +#define FILLRECT(type, op) \ do { \ int w; \ int width = dstrect->w; \