[DDraw] Fix DxDiag tests.

After the DC work is done while before releasing the DC flush the GDI
batch.
See CORE-15905. Someone may need to notify wine about this change.
This commit is contained in:
jimtabor 2019-04-10 19:24:50 -05:00
parent 29bf209767
commit 84d518b190

View file

@ -2346,7 +2346,9 @@ static HRESULT WINAPI ddraw_surface7_ReleaseDC(IDirectDrawSurface7 *iface, HDC h
HRESULT hr;
TRACE("iface %p, dc %p.\n", iface, hdc);
#ifdef __REACTOS__
GdiFlush();
#endif
wined3d_mutex_lock();
if (!surface->dc)
{