diff options
Diffstat (limited to 'pixman/pixman-sse2.c')
-rw-r--r-- | pixman/pixman-sse2.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pixman/pixman-sse2.c b/pixman/pixman-sse2.c index 2bade74..f69de0b 100644 --- a/pixman/pixman-sse2.c +++ b/pixman/pixman-sse2.c @@ -5955,8 +5955,12 @@ __attribute__((__force_align_arg_pointer__)) pixman_implementation_t * _pixman_implementation_create_sse2 (void) { - pixman_implementation_t *mmx = _pixman_implementation_create_mmx (); - pixman_implementation_t *imp = _pixman_implementation_create (mmx); +#ifdef USE_MMX + pixman_implementation_t *fallback = _pixman_implementation_create_mmx (); +#else + pixman_implementation_t *fallback = _pixman_implementation_create_fast_path (); +#endif + pixman_implementation_t *imp = _pixman_implementation_create (fallback); /* SSE2 constants */ mask_565_r = create_mask_2x32_128 (0x00f80000, 0x00f80000); |