Vulkan: Remove redundant format argument from DemandResolveTexture

This commit is contained in:
DrChat
2017-08-09 00:10:52 -05:00
parent e9e23c02a2
commit 8b5eb1cd38
3 changed files with 6 additions and 5 deletions

View File

@@ -320,7 +320,7 @@ bool TextureCache::FreeTexture(Texture* texture) {
}
TextureCache::Texture* TextureCache::DemandResolveTexture(
const TextureInfo& texture_info, TextureFormat format) {
const TextureInfo& texture_info) {
auto texture_hash = texture_info.hash();
for (auto it = textures_.find(texture_hash); it != textures_.end(); ++it) {
if (it->second->texture_info == texture_info) {