Mercurial > hg > dmlib
changeset 21:49cc9a173427
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 28 Sep 2012 14:52:40 +0300 |
parents | 6b0ba6d062bb |
children | 997e26f17946 b0f1b8544b62 |
files | dmblitfunc.h |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/dmblitfunc.h Fri Sep 28 14:52:34 2012 +0300 +++ b/dmblitfunc.h Fri Sep 28 14:52:40 2012 +0300 @@ -44,7 +44,6 @@ #define DM_SCALED_SRC_TYPE Uint32 #define DM_SCALED_DST_TYPE Uint32 #define DM_SCALED_INIT - #define DM_SCALED_INNER *dp++ = sp[FP_GETH(xv)]; #include "dmscaledblit.h" @@ -93,11 +92,10 @@ #define DM_SCALED_NAME dmScaledBlitSurface32to32Transparent #define DM_SCALED_SRC_BYTES 4 #define DM_SCALED_DST_BYTES 4 -#define DM_SCALED_INIT #ifdef DM_USE_SIMD -#define DM_SCALED_INNER_INIT \ - const Uint32 qpdmask = 0xff000000; \ +#define DM_SCALED_VARS \ + const Uint32 qpdmask = 0xff000000; \ const Uint64 qpdrm = 0xff00ff00ff00ffULL; #define DM_SCALED_SRC_TYPE Uint32 @@ -132,6 +130,7 @@ #define DM_SCALED_FINISH asm("emms\n"); #else + #define DM_SCALED_SRC_TYPE DMRGBA32 #define DM_SCALED_DST_TYPE DMRGBA32 #define DM_SCALED_INNER \