diff options
| author | NeoBrainX <NeoBrainX@googlemail.com> | 2012-01-29 20:24:23 +0100 |
|---|---|---|
| committer | NeoBrainX <NeoBrainX@googlemail.com> | 2012-01-31 19:52:02 +0100 |
| commit | 1446fb33d515fc300c33afd535b22f441544b86e (patch) | |
| tree | 37f1210d7f2f651ea46014444acaccfc881637a5 /Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp | |
| parent | cf899781f980ecf7dbe373a36c78a2a302e3951d (diff) | |
TextureCacheBase: Replace the efbcopy_state member variable of texture cache entries with a more general "texture type"
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp b/Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp index a1a7691907..f78eb11905 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp @@ -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); |
