Make efb2tex behave more like efb2ram.

Instead of having special case code for efb2tex that ignores hashes,
the only diffence between efb2tex and efb2ram now is that efb2tex
writes zeros to the memory instead of actual texture data.

Though keep in mind, all efb2tex copies will have hashes of zero as
their hash.
This commit is contained in:
Scott Mansell committed 2015-09-07 02:32:01 +12:00
1 parent c08a83a5aa
commit ee649c6d9f
4 files changed
+32 -25

No files matched your search

@@ -262,7 +262,11 @@ void TextureCache::TCacheEntry::FromRenderTarget(u8* dstPointer, unsigned int ds
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
if (!g_ActiveConfig.bSkipEFBCopyToRam)
if (g_ActiveConfig.bSkipEFBCopyToRam)
{
this->Zero(dstPointer);
}
else
{
TextureConverter::EncodeToRamFromTexture(
dstPointer,