From cc6db7a8df7ed06f7d45771cb290d2740c79bf26 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sun, 14 Jun 2015 11:25:18 +0200 Subject: [PATCH] Declare DoTexSwizzle16 outside #ifdef _M_SSE, fixing build on ARM --- GPU/Common/TextureDecoder.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GPU/Common/TextureDecoder.h b/GPU/Common/TextureDecoder.h index e5a70dec84..4e0b43cd16 100644 --- a/GPU/Common/TextureDecoder.h +++ b/GPU/Common/TextureDecoder.h @@ -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