D3D: Use D3DX for texture dumping.

This commit is contained in:
Tony Wasserka 2013-11-10 00:09:09 +01:00
parent a83c239765
commit 3de2ee5d46
1 changed files with 1 additions and 2 deletions

View File

@ -42,8 +42,7 @@ bool TextureCache::TCacheEntry::Save(const char filename[], unsigned int level)
warn_once = false; warn_once = false;
return false; return false;
} }
//return SUCCEEDED(PD3DX11SaveTextureToFileA(D3D::context, texture->GetTex(), D3DX11_IFF_PNG, filename)); return SUCCEEDED(PD3DX11SaveTextureToFileA(D3D::context, texture->GetTex(), D3DX11_IFF_PNG, filename));
return true;
} }
void TextureCache::TCacheEntry::Load(unsigned int width, unsigned int height, void TextureCache::TCacheEntry::Load(unsigned int width, unsigned int height,