mirror of
https://github.com/86Box/86Box.git
synced 2026-02-24 20:35:32 -07:00
Do RGB correction only on Qt5
This commit is contained in:
@@ -900,7 +900,11 @@ VulkanWindowRenderer::onBlit(int buf_idx, int x, int y, int w, int h)
|
||||
strcat(path, fn);
|
||||
|
||||
QImage image = this->grab();
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
image.save(path, "png");
|
||||
#else
|
||||
image.rgbSwapped().save(path, "png");
|
||||
#endif
|
||||
monitors[r_monitor_index].mon_screenshots--;
|
||||
}
|
||||
if (monitors[r_monitor_index].mon_screenshots_clipboard) {
|
||||
|
||||
Reference in New Issue
Block a user