TextureCacheBase: De-uglify hybrid EFB copies (documentation needs updating though)

TextureCacheBase: Fixed dynamic EFB copies being set to normal textures.
This commit is contained in:
NeoBrainX
2011-12-27 00:05:26 +01:00
committed by NeoBrainX
parent 67129404dd
commit 3b38295cbd
5 changed files with 27 additions and 33 deletions

View File

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