Copy lines from buffer32 one by one
(cherry picked from commit 00a75d4e602ec3ba6d214eeae4500c90dc77fc5f)
This commit is contained in:
committed by
ts-korhonen
parent
6b9e196bb7
commit
31d3d6309b
@@ -240,7 +240,11 @@ void RendererStack::blit(int x, int y, int w, int h)
|
||||
sw = this->w = w;
|
||||
sh = this->h = h;
|
||||
auto imagebits = imagebufs[currentBuf].get();
|
||||
video_copy(imagebits + y * (2048 * 4) + x * 4, &(buffer32->line[y][x]), h * 2048 * sizeof(uint32_t));
|
||||
for (int y1 = y; y1 < (y + h - 1); y1++)
|
||||
{
|
||||
auto scanline = imagebits + (y1 * (2048) * 4) + (x * 4);
|
||||
video_copy(scanline, &(buffer32->line[y1][x]), w * 4);
|
||||
}
|
||||
|
||||
if (screenshots)
|
||||
{
|
||||
|
Reference in New Issue
Block a user