some passthrough tweaks
This commit is contained in:
parent
d99fb4b05d
commit
5baeb50d1e
3 changed files with 30 additions and 3 deletions
5
src/dd.c
5
src/dd.c
|
@ -841,6 +841,11 @@ ULONG dd_Release()
|
|||
g_fpsl.htimer = NULL;
|
||||
}
|
||||
|
||||
if (g_ddraw->real_dd)
|
||||
{
|
||||
g_ddraw->real_dd->lpVtbl->Release(g_ddraw->real_dd);
|
||||
}
|
||||
|
||||
DeleteCriticalSection(&g_ddraw->cs);
|
||||
|
||||
/* restore old wndproc, subsequent ddraw creation will otherwise fail */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue