Commit 77f40d05 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Execute all CS commands before setting palette entries.

This is not the most performant solution. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44796Signed-off-by: 's avatarJózef Kucia <jkucia@codeweavers.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent cd2dee0f
......@@ -98,6 +98,8 @@ HRESULT CDECL wined3d_palette_set_entries(struct wined3d_palette *palette,
palette, flags, start, count, entries);
TRACE("Palette flags: %#x.\n", palette->flags);
wined3d_cs_finish(palette->device->cs, WINED3D_CS_QUEUE_DEFAULT);
if (palette->flags & WINED3D_PALETTE_8BIT_ENTRIES)
{
const BYTE *entry = (const BYTE *)entries;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment