projects
/
profile
/
ivi
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f135f74
)
Fix build with Visual Studio 2008
author
Gerdus van Zyl
<gerdusvanzyl@gmail.com>
Tue, 29 Sep 2009 10:28:03 +0000
(12:28 +0200)
committer
Søren Sandmann Pedersen
<sandmann@redhat.com>
Wed, 30 Sep 2009 10:29:43 +0000
(06:29 -0400)
moved __m64 ms declaration in sse2_composite_over_x888_8_8888 to top
of function so it compiles with visual studio 2008
pixman/pixman-sse2.c
patch
|
blob
|
history
diff --git
a/pixman/pixman-sse2.c
b/pixman/pixman-sse2.c
index
56fda4d
..
00b2b2a
100644
(file)
--- 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)
{