src/video/SDL_surface.c
changeset 2251 292bee385630
parent 2249 5a58b57b6724
child 2253 6d99edd791bf
     1.1 --- a/src/video/SDL_surface.c	Thu Aug 16 06:20:51 2007 +0000
     1.2 +++ b/src/video/SDL_surface.c	Thu Aug 16 06:37:22 2007 +0000
     1.3 @@ -512,6 +512,14 @@
     1.4  #ifdef __SSE__
     1.5  /* *INDENT-OFF* */
     1.6  
     1.7 +#ifdef _MSC_VER
     1.8 +#define SSE_BEGIN \
     1.9 +    __m128 c128; \
    1.10 +	c128.m128_u32[0] = color; \
    1.11 +	c128.m128_u32[1] = color; \
    1.12 +	c128.m128_u32[2] = color; \
    1.13 +	c128.m128_u32[3] = color;
    1.14 +#else
    1.15  #define SSE_BEGIN \
    1.16      DECLARE_ALIGNED(Uint32, cccc[4], 16); \
    1.17      cccc[0] = color; \
    1.18 @@ -519,6 +527,7 @@
    1.19      cccc[2] = color; \
    1.20      cccc[3] = color; \
    1.21      __m128 c128 = *(__m128 *)cccc;
    1.22 +#endif
    1.23  
    1.24  #define SSE_WORK \
    1.25      for (i = n / 64; i--;) { \