Fix RGB/BGR of the cursor's Vulkan image
This was ABGR before, when it should be ARGB.
This commit is contained in:
parent
39c44a9e3c
commit
76292f01cb
1 changed files with 1 additions and 1 deletions
|
@ -863,7 +863,7 @@ bool MouseCursor::getTexture()
|
|||
// TODO: choose format & modifiers from cursor plane
|
||||
}
|
||||
|
||||
m_texture = vulkan_create_texture_from_bits(m_width, m_height, VK_FORMAT_R8G8B8A8_UNORM, texCreateFlags, cursorBuffer.data());
|
||||
m_texture = vulkan_create_texture_from_bits(m_width, m_height, VK_FORMAT_B8G8R8A8_UNORM, texCreateFlags, cursorBuffer.data());
|
||||
assert(m_texture);
|
||||
XFree(image);
|
||||
m_dirty = false;
|
||||
|
|
Loading…
Reference in a new issue