Fix #9935: Use more selectivity when building SSE specific code

This commit is contained in:
glx22
2022-06-30 01:42:36 +02:00
committed by Loïc Guilloux
parent e9507e7ffa
commit bba6ad1f4e
12 changed files with 39 additions and 24 deletions

View File

@@ -29,6 +29,7 @@ static FBlitter_32bppSSE4_Anim iFBlitter_32bppSSE4_Anim;
*/
IGNORE_UNINITIALIZED_WARNING_START
template <BlitterMode mode, Blitter_32bppSSE2::ReadMode read_mode, Blitter_32bppSSE2::BlockType bt_last, bool translucent, bool animated>
GNU_TARGET("sse4.1")
inline void Blitter_32bppSSE4_Anim::Draw(const Blitter::BlitterParams *bp, ZoomLevel zoom)
{
const byte * const remap = bp->remap;