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

@ -279,7 +279,7 @@ void TextureCache::TCacheEntry::FromRenderTarget(u32 dstAddr, unsigned int dstFo
GL_REPORT_ERRORD();
if (efbcopy_state != EC_VRAM_DYNAMIC || g_ActiveConfig.bCopyEFBToTexture)
if (type != TCET_EC_DYNAMIC || g_ActiveConfig.bCopyEFBToTexture)
{
if (s_TempFramebuffer == 0)
glGenFramebuffersEXT(1, (GLuint*)&s_TempFramebuffer);