mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 23:59:54 -06:00
D3D: Remove obsolete Real XFB codepath.
This commit is contained in:
@ -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