projects
/
platform
/
upstream
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb056d4
)
Guard MMX get_fast_path() with pixman_have_mmx()
author
Søren Sandmann
<sandmann@redhat.com>
Fri, 7 Dec 2007 23:59:54 +0000
(18:59 -0500)
committer
Søren Sandmann
<sandmann@redhat.com>
Fri, 7 Dec 2007 23:59:54 +0000
(18:59 -0500)
pixman/pixman-pict.c
patch
|
blob
|
history
diff --git
a/pixman/pixman-pict.c
b/pixman/pixman-pict.c
index
1cb4a9e
..
26b4fce
100644
(file)
--- a/
pixman/pixman-pict.c
+++ b/
pixman/pixman-pict.c
@@
-1718,7
+1718,9
@@
pixman_image_composite (pixman_op_t op,
!maskRepeat;
#ifdef USE_MMX
- info = get_fast_path (mmx_fast_paths, op, pSrc, pMask, pDst, pixbuf);
+ info = NULL;
+ if (pixman_have_mmx())
+ info = get_fast_path (mmx_fast_paths, op, pSrc, pMask, pDst, pixbuf);
if (!info)
#endif
info = get_fast_path (c_fast_paths, op, pSrc, pMask, pDst, pixbuf);