Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix my DX11 texture-related failure..
Fixes issue 6026. (probably)
  • Loading branch information
jordan-woyak committed Feb 20, 2013
1 parent 6e6d8af commit b7fae1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/Plugins/Plugin_VideoDX11/Src/TextureCache.cpp
Expand Up @@ -98,6 +98,9 @@ TextureCache::TCacheEntryBase* TextureCache::CreateTexture(unsigned int width,
D3D::SetDebugObjectName((ID3D11DeviceChild*)entry->texture->GetSRV(), "shader resource view of a texture of the TextureCache");

SAFE_RELEASE(pTexture);

if (tex_levels != 1)
entry->Load(width, height, expanded_width, 0);

return entry;
}
Expand Down

0 comments on commit b7fae1f

Please sign in to comment.