diff options
author | Gerdus van Zyl <gerdusvanzyl@gmail.com> | 2009-09-29 12:28:03 +0200 |
---|---|---|
committer | Søren Sandmann Pedersen <sandmann@redhat.com> | 2009-09-30 06:29:43 -0400 |
commit | 93acc10617c88fbf933120c6980ae8ef80cf94f0 (patch) | |
tree | fe1c8b7b66965299c82ead7c0e99ee0f73f58423 | |
parent | f135f74ff3a4f55262b611b452566daff5e936ce (diff) |
Fix build with Visual Studio 2008
moved __m64 ms declaration in sse2_composite_over_x888_8_8888 to top
of function so it compiles with visual studio 2008
-rw-r--r-- | pixman/pixman-sse2.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pixman/pixman-sse2.c b/pixman/pixman-sse2.c index 56fda4d..00b2b2a 100644 --- a/pixman/pixman-sse2.c +++ b/pixman/pixman-sse2.c @@ -5465,6 +5465,7 @@ sse2_composite_over_x888_8_8888 (pixman_implementation_t *imp, uint32_t m; int src_stride, mask_stride, dst_stride; uint16_t w; + __m64 ms; __m128i xmm_src, xmm_src_lo, xmm_src_hi; __m128i xmm_dst, xmm_dst_lo, xmm_dst_hi; @@ -5498,8 +5499,9 @@ sse2_composite_over_x888_8_8888 (pixman_implementation_t *imp, s = 0xff000000 | *src++; m = (uint32_t) *mask++; d = *dst; - - __m64 ms = unpack_32_1x64 (s); + + + ms = unpack_32_1x64 (s); if (m != 0xff) { |