1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Add compile guard to not miss SSE4.1

This commit is contained in:
Michał Janiszewski
2017-12-30 00:09:32 +01:00
parent 1fdc8ef49e
commit 566991897e

View File

@@ -64,6 +64,10 @@ void mask_sse4_1(sint32 width, sint32 height, const uint8 * RESTRICT maskSrc, co
#else
#ifdef OPENRCT2_X86
#error You have to compile this file with SSE4.1 enabled, when targetting x86!
#endif
void mask_sse4_1(sint32 width, sint32 height, const uint8 * RESTRICT maskSrc, const uint8 * RESTRICT colourSrc,
uint8 * RESTRICT dst, sint32 maskWrap, sint32 colourWrap, sint32 dstWrap)
{