properly flip screenshots

This commit is contained in:
vaxerski 2023-04-21 18:03:08 +01:00
parent 723be5af70
commit 031ed01c42

View File

@ -248,7 +248,7 @@ namespace WallpaperEngine::Application
color.rgbBlue = *pixel++;
// set the pixel in the destination
FreeImage_SetPixelColor (bitmap, x, y, &color);
FreeImage_SetPixelColor (bitmap, x, (context.getOutput()->renderVFlip() ? (height - y) : y), &color);
}
}