mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 01:25:33 -07:00
Vulkan: Always do RGB correction on Windows
This commit is contained in:
@@ -900,7 +900,7 @@ 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)
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) && !defined(Q_OS_WINDOWS)
|
||||
image.save(path, "png");
|
||||
#else
|
||||
image.rgbSwapped().save(path, "png");
|
||||
|
||||
Reference in New Issue
Block a user