mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
D3D: Use D3DX for texture dumping.
This commit is contained in:
parent
a83c239765
commit
3de2ee5d46
1 changed files with 1 additions and 2 deletions
|
@ -42,8 +42,7 @@ bool TextureCache::TCacheEntry::Save(const char filename[], unsigned int level)
|
|||
warn_once = false;
|
||||
return false;
|
||||
}
|
||||
//return SUCCEEDED(PD3DX11SaveTextureToFileA(D3D::context, texture->GetTex(), D3DX11_IFF_PNG, filename));
|
||||
return true;
|
||||
return SUCCEEDED(PD3DX11SaveTextureToFileA(D3D::context, texture->GetTex(), D3DX11_IFF_PNG, filename));
|
||||
}
|
||||
|
||||
void TextureCache::TCacheEntry::Load(unsigned int width, unsigned int height,
|
||||
|
|
Loading…
Add table
Reference in a new issue