Flip framebuffer y correctly.

And here I just corrected another commit doing this wrong a few weeks ago.
Shame.
This commit is contained in:
Unknown W. Brackets 2014-05-25 17:46:42 -07:00
parent 89b3ead30d
commit 24ebc0d987

View File

@ -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