Declare DoTexSwizzle16 outside #ifdef _M_SSE, fixing build on ARM

This commit is contained in:
Henrik Rydgard 2015-06-14 11:25:18 +02:00
parent 3b548a1fd0
commit cc6db7a8df

View File

@ -32,12 +32,13 @@ enum CheckAlphaResult {
void SetupTextureDecoder();
void DoSwizzleTex16(const u32 *ysrcp, u8 *texptr, int bxc, int byc, u32 pitch, u32 rowWidth);
// For SSE, we statically link the SSE2 algorithms.
#if defined(_M_SSE)
u32 QuickTexHashSSE2(const void *checkp, u32 size);
#define DoQuickTexHash QuickTexHashSSE2
void DoSwizzleTex16(const u32 *ysrcp, u8 *texptr, int bxc, int byc, u32 pitch, u32 rowWidth);
void DoUnswizzleTex16Basic(const u8 *texptr, u32 *ydestp, int bxc, int byc, u32 pitch, u32 rowWidth);
#define DoUnswizzleTex16 DoUnswizzleTex16Basic