mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06:00
Video: Trying to fix D3D/XFB disabled regression
This commit is contained in:
@ -127,7 +127,8 @@ void Renderer::RenderToXFB(u32 xfbAddr, const EFBRectangle& sourceRc, u32 fbStri
|
||||
}
|
||||
else
|
||||
{
|
||||
Swap(xfbAddr, sourceRc.GetWidth(), fbStride, fbHeight, sourceRc, Gamma);
|
||||
// below div two to convert from bytes to pixels - it expects width, not stride
|
||||
Swap(xfbAddr, fbStride/2, fbStride/2, fbHeight, sourceRc, Gamma);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user