mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 17:49:01 +00:00
Video: stride in bytes rather than pixels
This commit is contained in:
parent
c43ae67b3b
commit
efd250494d
4 changed files with 9 additions and 9 deletions
|
@ -251,7 +251,7 @@ static void BPWritten(const BPCmd& bp)
|
|||
height = MAX_XFB_HEIGHT;
|
||||
}
|
||||
|
||||
u32 stride = bpmem.copyMipMapStrideChannels << 4;
|
||||
u32 stride = bpmem.copyMipMapStrideChannels << 5;
|
||||
WARN_LOG(VIDEO, "RenderToXFB: destAddr: %08x | srcRect {%d %d %d %d} | fbWidth: %u | fbStride: %u | fbHeight: %u",
|
||||
destAddr, srcRect.left, srcRect.top, srcRect.right, srcRect.bottom, bpmem.copyTexSrcWH.x + 1, stride, height);
|
||||
Renderer::RenderToXFB(destAddr, srcRect, stride, height, s_gammaLUT[PE_copy.gamma]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue