mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-25 16:41:04 +00:00
Flip framebuffer y correctly.
And here I just corrected another commit doing this wrong a few weeks ago. Shame.
This commit is contained in:
parent
89b3ead30d
commit
24ebc0d987
@ -1310,7 +1310,8 @@ void FramebufferManager::BlitFramebuffer_(VirtualFramebuffer *dst, int dstX, int
|
||||
int dstY1 = dstY2 + h * dstYFactor;
|
||||
|
||||
if (flip) {
|
||||
std::swap(dstY1, dstY2);
|
||||
dstY1 = dst->renderHeight - dstY1;
|
||||
dstY2 = dst->renderHeight - dstY2;
|
||||
}
|
||||
|
||||
#ifdef MAY_HAVE_GLES3
|
||||
|
Loading…
x
Reference in New Issue
Block a user