projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29bf209
)
[DDraw] Fix DxDiag tests.
author
jimtabor
<james.tabor@reactos.org>
Thu, 11 Apr 2019 00:24:50 +0000
(19:24 -0500)
committer
jimtabor
<james.tabor@reactos.org>
Thu, 11 Apr 2019 00:24:50 +0000
(19:24 -0500)
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.
dll/directx/wine/ddraw/surface.c
patch
|
blob
|
history
diff --git
a/dll/directx/wine/ddraw/surface.c
b/dll/directx/wine/ddraw/surface.c
index
e188396
..
df8d038
100644
(file)
--- a/
dll/directx/wine/ddraw/surface.c
+++ b/
dll/directx/wine/ddraw/surface.c
@@
-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)
{