http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5492560
)
ddraw: Unset the viewports active device in IDirect3DDeviceImpl_3_DeleteViewport().
author
Henri Verbeet
<hverbeet@codeweavers.com>
Tue, 19 Apr 2011 18:05:51 +0000
(20:05 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Wed, 20 Apr 2011 11:06:49 +0000
(13:06 +0200)
dlls/ddraw/device.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/ddraw/device.c
b/dlls/ddraw/device.c
index 984afc3074c453723a023dad827c17ee0911acc2..11ac2918e88ba29785bc4cae8f44c6cf37894499 100644
(file)
--- a/
dlls/ddraw/device.c
+++ b/
dlls/ddraw/device.c
@@
-829,6
+829,7
@@
IDirect3DDeviceImpl_3_DeleteViewport(IDirect3DDevice3 *iface,
{
if (prev_viewport == NULL) This->viewport_list = cur_viewport->next;
else prev_viewport->next = cur_viewport->next;
+ vp->active_device = NULL;
/* TODO : add desactivate of the viewport and all associated lights... */
LeaveCriticalSection(&ddraw_cs);
return D3D_OK;