New compact texture type for OGL/D3D: IA8

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2233 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY
2009-02-13 14:14:45 +00:00
parent a55e672493
commit acb3d1b23d
5 changed files with 61 additions and 35 deletions

View File

@ -180,6 +180,9 @@ void TextureCache::Load(int stage, u32 address, int width, int height, int forma
d3d_fmt = D3DFMT_R5G6B5;
break;
case PC_TEX_FMT_I8:
d3d_fmt = D3DFMT_A8P8;
break;
case PC_TEX_FMT_IA8:
d3d_fmt = D3DFMT_A8L8;
break;
}