mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-13 13:27:15 +00:00
D3D, enables the EFBCopyDisable option.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4251 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
f46aab0d3f
commit
5ffb48c33b
@ -207,7 +207,14 @@ void SetColorMask(const BPCmd &bp)
|
||||
|
||||
void CopyEFB(const BPCmd &bp, const EFBRectangle &rc, const u32 &address, const bool &fromZBuffer, const bool &isIntensityFmt, const u32 ©fmt, const int &scaleByHalf)
|
||||
{
|
||||
TextureCache::CopyRenderTargetToTexture(address, fromZBuffer, isIntensityFmt, copyfmt, scaleByHalf, rc);
|
||||
if (!g_Config.bEFBCopyDisable)
|
||||
{
|
||||
//if (g_Config.bCopyEFBToRAM)
|
||||
// To RAM, not implemented yet
|
||||
//TextureConverter::EncodeToRam(address, fromZBuffer, isIntensityFmt, copyfmt, scaleByHalf, rc);
|
||||
//else // To D3D Texture
|
||||
TextureCache::CopyRenderTargetToTexture(address, fromZBuffer, isIntensityFmt, copyfmt, scaleByHalf, rc);
|
||||
}
|
||||
}
|
||||
|
||||
void RenderToXFB(const BPCmd &bp, const EFBRectangle &rc, const float &yScale, const float &xfbLines, u32 xfbAddr, const u32 &dstWidth, const u32 &dstHeight)
|
||||
|
Loading…
Reference in New Issue
Block a user