diff --git a/src_c/simd_blitters_sse2.c b/src_c/simd_blitters_sse2.c index 77f1330327..3696b2391f 100644 --- a/src_c/simd_blitters_sse2.c +++ b/src_c/simd_blitters_sse2.c @@ -345,8 +345,6 @@ alphablit_alpha_sse2_argb_no_surf_alpha(SDL_BlitInfo *info) mm_src_alpha = _mm_and_si128(mm_src, mm_alpha_mask); mm_dst_alpha = _mm_and_si128(mm_dst, mm_alpha_mask); - __m128i mask = _mm_cmpeq_epi32(mm_dst_alpha, mm_zero); - mm_src_alpha = _mm_srli_si128(mm_src_alpha, 3); mm_dst_alpha = _mm_srli_si128(mm_dst_alpha, 3); mm_res_a = _mm_add_epi16(mm_src_alpha, mm_dst_alpha); @@ -400,9 +398,6 @@ alphablit_alpha_sse2_argb_no_surf_alpha(SDL_BlitInfo *info) mm_res_pixels = _mm_and_si128(mm_res_pixels, mm_rgb_mask); mm_res_pixels = _mm_or_si128(mm_res_pixels, mm_res_a); - mm_res_pixels = - pg_mm_blendv_epi8(mm_res_pixels, mm_src, mask); - _mm_storeu_si128(dstp128, mm_res_pixels); srcp128++; dstp128++;