diff options
| author | XTra.KrazzY <XTra.KrazzY@gmail.com> | 2009-02-12 13:54:08 +0000 |
|---|---|---|
| committer | XTra.KrazzY <XTra.KrazzY@gmail.com> | 2009-02-12 13:54:08 +0000 |
| commit | d2d097fba5f3e49a1954985100db51e60a85e0e9 (patch) | |
| tree | 766b5417b2035a38f2c59509fe7e0d202cc2b89c /Source/Core/VideoCommon/Src/TextureDecoder.h | |
| parent | 1bed914bf47ccd19cdbe8e2e977378670f31aa12 (diff) | |
Committing magumagu9's work on texture decoding transferral to OGL, I added DX9 support. Speed seems to have increased but I'm not sure. See issue 581 for more info.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2222 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/TextureDecoder.h')
| -rw-r--r-- | Source/Core/VideoCommon/Src/TextureDecoder.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/TextureDecoder.h b/Source/Core/VideoCommon/Src/TextureDecoder.h index ceb1d61fff..f41da1b77e 100644 --- a/Source/Core/VideoCommon/Src/TextureDecoder.h +++ b/Source/Core/VideoCommon/Src/TextureDecoder.h @@ -72,7 +72,8 @@ int TexDecoder_GetPaletteSize(int fmt); enum PC_TexFormat { PC_TEX_FMT_NONE = 0, - PC_TEX_FMT_BGRA32 = 1, + PC_TEX_FMT_BGRA32, + PC_TEX_FMT_I8, }; PC_TexFormat TexDecoder_Decode(u8 *dst, const u8 *src, int width, int height, int texformat, int tlutaddr, int tlutfmt); |
