mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
New compact texture type for OGL/D3D: RGB565
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2225 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
57c4620902
commit
e557e090dd
5 changed files with 31 additions and 11 deletions
|
@ -176,9 +176,9 @@ void TextureCache::Load(int stage, u32 address, int width, int height, int forma
|
|||
case PC_TEX_FMT_BGRA32:
|
||||
d3d_fmt = D3DFMT_A8R8G8B8;
|
||||
break;
|
||||
/*case PC_TEX_FMT_BGRA16: is this of any use?
|
||||
d3d_fmt = D3DFMT_A4R4G4B4;
|
||||
break;*/
|
||||
case PC_TEX_FMT_RGB565:
|
||||
d3d_fmt = D3DFMT_R5G6B5;
|
||||
break;
|
||||
case PC_TEX_FMT_I8:
|
||||
d3d_fmt = D3DFMT_A8L8;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue