mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-14 13:22:23 +08:00
properly flip screenshots
This commit is contained in:
parent
723be5af70
commit
031ed01c42
@ -248,7 +248,7 @@ namespace WallpaperEngine::Application
|
|||||||
color.rgbBlue = *pixel++;
|
color.rgbBlue = *pixel++;
|
||||||
|
|
||||||
// set the pixel in the destination
|
// set the pixel in the destination
|
||||||
FreeImage_SetPixelColor (bitmap, x, y, &color);
|
FreeImage_SetPixelColor (bitmap, x, (context.getOutput()->renderVFlip() ? (height - y) : y), &color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user