mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
TextureCacheBase: Replace the efbcopy_state member variable of texture cache entries with a more general "texture type"
This commit is contained in:
parent
cf899781f9
commit
1446fb33d5
5 changed files with 27 additions and 29 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue