mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 22:59:47 -06:00
Video: Trying to fix D3D/XFB disabled regression
This commit is contained in:
@ -162,7 +162,8 @@ FramebufferManager::~FramebufferManager()
|
||||
void FramebufferManager::CopyToRealXFB(u32 xfbAddr, u32 fbStride, u32 fbHeight, const EFBRectangle& sourceRc,float Gamma)
|
||||
{
|
||||
u8* dst = Memory::GetPointer(xfbAddr);
|
||||
s_xfbEncoder.Encode(dst, fbStride, fbHeight, sourceRc, Gamma);
|
||||
// below div2 due to dx using pixel width
|
||||
s_xfbEncoder.Encode(dst, fbStride/2, fbHeight, sourceRc, Gamma);
|
||||
}
|
||||
|
||||
XFBSourceBase* FramebufferManager::CreateXFBSource(unsigned int target_width, unsigned int target_height, unsigned int layers)
|
||||
|
Reference in New Issue
Block a user