diff options
| author | Ryan Houdek <ryan.houdek@codethink.co.uk> | 2014-03-17 18:17:12 -0500 |
|---|---|---|
| committer | Ryan Houdek <ryan.houdek@codethink.co.uk> | 2014-03-17 18:17:12 -0500 |
| commit | 484fb46390bcdffcf9509f8d6c784f5b7bce0167 (patch) | |
| tree | 2f61ed927eebfbda01ebdaa39b904a37d28a31ff /Source/Core/VideoCommon/TextureDecoder_Generic.cpp | |
| parent | 8f0fa997cb4d704b531feba8b39f89f83f6faa0d (diff) | |
Clang 3.4 exposes some warnings on Android.
Fixes all warnings on Android build except for what is in externals.
Removes a function from TextureDecoder_Generic since it is unused and generates a warning.
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder_Generic.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureDecoder_Generic.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/Core/VideoCommon/TextureDecoder_Generic.cpp b/Source/Core/VideoCommon/TextureDecoder_Generic.cpp index b7141b7778..95ead9c174 100644 --- a/Source/Core/VideoCommon/TextureDecoder_Generic.cpp +++ b/Source/Core/VideoCommon/TextureDecoder_Generic.cpp @@ -170,13 +170,6 @@ int TexDecoder_GetPaletteSize(int format) } } -static inline u32 decodeIA8(u16 val) -{ - int a = val >> 8; - int i = val & 0xFF; - return (a << 24) | (i << 16) | (i << 8) | i; -} - static inline u32 decode5A3(u16 val) { int r,g,b,a; |
