Commit 70b699a1 authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

Call TSXFlush after setting DGA palette, so it updates immediately.

parent fb270ddc
......@@ -56,6 +56,7 @@ HRESULT WINAPI DGA_IDirectDrawPaletteImpl_SetEntries(
This->palents[start+i].peFlags = palent[i].peFlags;
}
ddpriv->InstallColormap(display,DefaultScreen(display),dppriv->cm);
TSXFlush(display);
return DD_OK;
}
ICOM_VTABLE(IDirectDrawPalette) dga_ddpalvt =
......
......@@ -109,6 +109,7 @@ HRESULT WINAPI DGA_IDirectDrawSurface4Impl_SetPalette(
dib->colorMap = This->s.palette ? This->s.palette->screen_palents : NULL;
GDI_HEAP_UNLOCK(This->s.DIBsection);
}
TSXFlush(display);
}
return DD_OK;
}
......
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