mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user