D3D: Remove obsolete Real XFB codepath.

This commit is contained in:
Jules Blok 2014-12-24 23:54:43 +01:00
parent 9590ea0cf6
commit 1bbb323e97
1 changed files with 16 additions and 23 deletions

View File

@ -739,12 +739,6 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, co
TargetRectangle drawRc;
if (g_ActiveConfig.bUseRealXFB)
{
drawRc = targetRc;
}
else
{
// use virtual xfb with offset
int xfbHeight = xfbSource->srcHeight;
int xfbWidth = xfbSource->srcWidth;
@ -763,7 +757,6 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, co
//drawRc.bottom *= vScale;
//drawRc.left *= hScale;
//drawRc.right *= hScale;
}
TargetRectangle sourceRc = xfbSource->sourceRc;
sourceRc.right -= fbStride - fbWidth;