diff --git a/src/video/SDL_blit_A.c b/src/video/SDL_blit_A.c index 6fb762d775..1cdbaf3590 100644 --- a/src/video/SDL_blit_A.c +++ b/src/video/SDL_blit_A.c @@ -1383,7 +1383,7 @@ SDL_BlitFunc SDL_CalculateBlitA(SDL_Surface *surface) case 4: #if defined(SDL_SSE4_1_INTRINSICS) || defined(SDL_AVX2_INTRINSICS) - if (sf->BytesPerPixel == 4 && df->BytesPerPixel == 4 && (SDL_HasAVX2() || SDL_HasSSE41())) { + if (sf->BytesPerPixel == 4 && df->BytesPerPixel == 4 && (SDL_HasSSE41() || SDL_HasAVX2())) { return BlitNtoNPixelAlpha; } #endif