summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureDecoder.h
diff options
context:
space:
mode:
authorhthh <hthh@hh.ht>2017-01-14 11:29:05 +1100
committerhthh <hthh@hh.ht>2017-01-15 20:23:26 +1100
commit88d52b4d69a4ca4e81c7ac32d2df0c0f826fcc19 (patch)
tree032115824c50ead073a0d8fe928b051f5996b29e /Source/Core/VideoCommon/TextureDecoder.h
parent5d4e4aa561dc7de12cd54f35a98adcccd85bb5d3 (diff)
TextureDecoder: Deduplicate some utility code
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder.h')
-rw-r--r--Source/Core/VideoCommon/TextureDecoder.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/TextureDecoder.h b/Source/Core/VideoCommon/TextureDecoder.h
index 977a81ecc4..44834c0623 100644
--- a/Source/Core/VideoCommon/TextureDecoder.h
+++ b/Source/Core/VideoCommon/TextureDecoder.h
@@ -88,8 +88,3 @@ void TexDecoder_SetTexFmtOverlayOptions(bool enable, bool center);
/* Internal method, implemented by TextureDecoder_Generic and TextureDecoder_x64. */
void _TexDecoder_DecodeImpl(u32* dst, const u8* src, int width, int height, int texformat,
const u8* tlut, TlutFormat tlutfmt);
-
-static constexpr int DXTBlend(int v1, int v2)
-{
- return ((v1 * 3 + v2 * 5) >> 3);
-}