D3D: Remove obsolete Real XFB codepath.
This commit is contained in:
1 parent
9590ea0cf6
commit
1bbb323e97
1 file changed
-7
@@ -739,12 +739,6 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, co
|
|||||||
|
|
||||||
TargetRectangle drawRc;
|
TargetRectangle drawRc;
|
||||||
|
|
||||||
if (g_ActiveConfig.bUseRealXFB)
|
|
||||||
{
|
|
||||||
drawRc = targetRc;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// use virtual xfb with offset
|
// use virtual xfb with offset
|
||||||
int xfbHeight = xfbSource->srcHeight;
|
int xfbHeight = xfbSource->srcHeight;
|
||||||
int xfbWidth = xfbSource->srcWidth;
|
int xfbWidth = xfbSource->srcWidth;
|
||||||
@@ -763,7 +757,6 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, co
|
|||||||
//drawRc.bottom *= vScale;
|
//drawRc.bottom *= vScale;
|
||||||
//drawRc.left *= hScale;
|
//drawRc.left *= hScale;
|
||||||
//drawRc.right *= hScale;
|
//drawRc.right *= hScale;
|
||||||
}
|
|
||||||
|
|
||||||
TargetRectangle sourceRc = xfbSource->sourceRc;
|
TargetRectangle sourceRc = xfbSource->sourceRc;
|
||||||
sourceRc.right -= fbStride - fbWidth;
|
sourceRc.right -= fbStride - fbWidth;
|
||||||
|
|||||||
Reference in new issue
Block a user