mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 08:54:40 +00:00
fixed a refer counter that was zero out, but it should be have set to 1
svn path=/trunk/; revision=25035
This commit is contained in:
parent
3d923733e6
commit
bdd9cf7f66
|
@ -36,7 +36,9 @@ StartDirectDraw(LPDIRECTDRAW* iface, LPGUID lpGuid)
|
|||
|
||||
if (This->lpLink == NULL)
|
||||
{
|
||||
|
||||
RtlZeroMemory(&ddgbl, sizeof(DDRAWI_DIRECTDRAW_GBL));
|
||||
This->lpLcl->lpGbl->dwRefCnt++;
|
||||
|
||||
if (ddgbl.lpDDCBtmp == NULL)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue