forked from rosebudai/OpenRCT2-Web
Add compile guard to not miss SSE4.1
This commit is contained in:
1 parent
1fdc8ef49e
commit
566991897e
1 file changed
+4
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user