Make it possible to switch algorithms in the future

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403362
This commit is contained in:
Sam Lantinga 2008-12-21 08:59:56 +00:00
parent c37ad66b0a
commit 4f84ec9b5e
4 changed files with 61 additions and 60 deletions

View file

@ -322,12 +322,13 @@ do { \
} \
} \
}
#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; \