Add compile guard to not miss SSE4.1

This commit is contained in:
Michał Janiszewski committed 2018-01-01 23:49:09 +01:00
1 parent 1fdc8ef49e
commit 566991897e
1 file changed
+4
+4
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)
{