TextureCacheBase: Replace the efbcopy_state member variable of texture cache entries with a more general "texture type"

This commit is contained in:
NeoBrainX
2012-01-29 20:24:23 +01:00
parent cf899781f9
commit 1446fb33d5
5 changed files with 27 additions and 29 deletions

View File

@ -79,7 +79,7 @@ void TextureCache::TCacheEntry::FromRenderTarget(u32 dstAddr, unsigned int dstFo
FramebufferManager::GetEFBDepthTexture() :
FramebufferManager::GetEFBColorTexture();
if (efbcopy_state != EC_VRAM_DYNAMIC || g_ActiveConfig.bCopyEFBToTexture)
if (type != TCET_EC_DYNAMIC || g_ActiveConfig.bCopyEFBToTexture)
{
LPDIRECT3DSURFACE9 Rendersurf = NULL;
texture->GetSurfaceLevel(0, &Rendersurf);