projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[DDraw] Fix DxDiag tests.
[reactos.git]
/
dll
/
directx
/
wine
/
ddraw
/
surface.c
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)
{