Merge branch 'qt' of https://github.com/ts-korhonen/86Box into qt-toolbar
This commit is contained in:
@@ -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