diff options
| author | booto <remornicus@gmail.com> | 2015-07-25 02:48:56 +0800 |
|---|---|---|
| committer | booto <remornicus@gmail.com> | 2015-07-25 02:48:56 +0800 |
| commit | efd250494d62272451bed3257771f6dae6edb695 (patch) | |
| tree | 483a78977fd152273a8f253c69403b6823a4168e /Source/Core/VideoCommon/BPStructs.cpp | |
| parent | c43ae67b3bac38fa65316329a00a1f62dcb9ead6 (diff) | |
Video: stride in bytes rather than pixels
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/BPStructs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp index 92ab0bf63f..5d1f3cfb08 100644 --- a/Source/Core/VideoCommon/BPStructs.cpp +++ b/Source/Core/VideoCommon/BPStructs.cpp @@ -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]); |
