diff options
-rw-r--r-- | src/lib/evas/common/evas_blit_main.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/evas/common/evas_blit_main.c b/src/lib/evas/common/evas_blit_main.c index 4da4034742..d01fb21e26 100644 --- a/src/lib/evas/common/evas_blit_main.c +++ b/src/lib/evas/common/evas_blit_main.c | |||
@@ -584,16 +584,16 @@ evas_common_copy_pixels_rev_sse(DATA32 *src, DATA32 *dst, int len) | |||
584 | #endif | 584 | #endif |
585 | 585 | ||
586 | Gfx_Func_Copy | 586 | Gfx_Func_Copy |
587 | evas_common_draw_func_copy_get(int pixels, int reverse) | 587 | evas_common_draw_func_copy_get(int pixels EINA_UNUSED, int reverse) |
588 | { | 588 | { |
589 | if (reverse == -1) | 589 | if (reverse == -1) |
590 | return evas_common_copy_rev_pixels_c; | 590 | return evas_common_copy_rev_pixels_c; |
591 | if (reverse) | 591 | if (reverse) |
592 | { | 592 | { |
593 | #ifdef BUILD_MMX | 593 | #ifdef BUILD_MMX |
594 | if (evas_common_cpu_has_feature(CPU_FEATURE_SSE) && (pixels > 64 * 64)) | 594 | if (evas_common_cpu_has_feature(CPU_FEATURE_SSE) && (pixels > (64 * 64))) |
595 | return evas_common_copy_pixels_rev_sse; | 595 | return evas_common_copy_pixels_rev_sse; |
596 | else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX)) | 596 | else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX)) |
597 | return evas_common_copy_pixels_rev_mmx; | 597 | return evas_common_copy_pixels_rev_mmx; |
598 | #endif | 598 | #endif |
599 | #ifdef BUILD_NEON | 599 | #ifdef BUILD_NEON |
@@ -605,7 +605,7 @@ evas_common_draw_func_copy_get(int pixels, int reverse) | |||
605 | else | 605 | else |
606 | { | 606 | { |
607 | #ifdef BUILD_MMX | 607 | #ifdef BUILD_MMX |
608 | if (evas_common_cpu_has_feature(CPU_FEATURE_SSE) && (pixels > 64 * 64)) | 608 | if (evas_common_cpu_has_feature(CPU_FEATURE_SSE) && (pixels > (64 * 64))) |
609 | return evas_common_copy_pixels_sse; | 609 | return evas_common_copy_pixels_sse; |
610 | else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX2)) | 610 | else if (evas_common_cpu_has_feature(CPU_FEATURE_MMX2)) |
611 | return evas_common_copy_pixels_mmx2; | 611 | return evas_common_copy_pixels_mmx2; |