Fix screenshots being cut off

This commit is contained in:
Cacodemon345
2021-12-26 00:49:21 +06:00
parent 033abed3fe
commit fa70dda2c0

View File

@@ -227,7 +227,7 @@ void RendererStack::blit(int x, int y, int w, int h)
if (screenshots)
{
video_screenshot((uint32_t *)imagebits, 0, 0, 2048);
video_screenshot((uint32_t *)imagebits, x, y, 2048);
}
video_blit_complete();
blitToRenderer(&imagebufs[currentBuf], sx, sy, sw, sh, &buffers_in_use[currentBuf]);