Commit e13d0efb authored by Alexander Dorofeyev's avatar Alexander Dorofeyev Committed by Alexandre Julliard

wined3d: Remove glFlush in RealizePalette.

glFlush was added to surface_blt_to_drawable some time ago, which is a more general fix and makes this one superfluous.
parent 379f4009
...@@ -3812,10 +3812,6 @@ HRESULT WINAPI IWineD3DSurfaceImpl_RealizePalette(IWineD3DSurface *iface) { ...@@ -3812,10 +3812,6 @@ HRESULT WINAPI IWineD3DSurfaceImpl_RealizePalette(IWineD3DSurface *iface) {
/* Re-upload the palette */ /* Re-upload the palette */
d3dfmt_p8_upload_palette(iface, convert); d3dfmt_p8_upload_palette(iface, convert);
/* Without this some palette updates are missed. This at least happens on Nvidia drivers but
* it works fine using Mesa. */
glFlush();
} else { } else {
if(!(This->Flags & SFLAG_INSYSMEM)) { if(!(This->Flags & SFLAG_INSYSMEM)) {
TRACE("Palette changed with surface that does not have an up to date system memory copy\n"); TRACE("Palette changed with surface that does not have an up to date system memory copy\n");
......
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