Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
D3D: Use D3DX for texture dumping.
  • Loading branch information
neobrain committed Nov 9, 2013
1 parent a83c239 commit 3de2ee5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/Core/VideoBackends/D3D/Src/TextureCache.cpp
Expand Up @@ -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,
Expand Down

0 comments on commit 3de2ee5

Please sign in to comment.