1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-31 14:52:11 +01:00

[d3d9] Fix software cursor texture format

The new code expects texture reads to be in linear space, so we need
to use an sRGB format here.
This commit is contained in:
Philip Rebohle 2025-01-16 12:05:17 +01:00
parent 3dbe8ad43c
commit 5ed2d990af

View File

@ -732,7 +732,7 @@ namespace dxvk {
m_blitter->setCursorTexture(
cursorSize,
VK_FORMAT_B8G8R8A8_UNORM,
VK_FORMAT_B8G8R8A8_SRGB,
(void *) pCursorBitmap);
}