mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
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
This commit is contained in:
parent
1bed914bf4
commit
d2d097fba5
5 changed files with 67 additions and 194 deletions
|
@ -176,6 +176,12 @@ 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_I8:
|
||||
d3d_fmt = D3DFMT_A8L8;
|
||||
break;
|
||||
}
|
||||
|
||||
//Make an entry in the table
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue