[GDI32] Fix bDDCreateSurface

This commit is contained in:
Timo Kreuzer 2019-01-13 15:09:57 +01:00
parent 2620930066
commit 711dbd19f7

View file

@ -1409,7 +1409,7 @@ bDDCreateSurface(LPDDRAWI_DDRAWSURFACE_LCL pSurface,
RtlMoveMemory(&SurfaceMore.ddsCapsEx,
&pSurface->ddckCKDestBlt,
sizeof(DDSCAPSEX));
SurfaceMore.dwSurfaceHandle = (DWORD)pSurface->dbnOverlayNode.object_int->lpVtbl;
SurfaceMore.dwSurfaceHandle = pSurface->lpSurfMore->dwSurfaceHandle;
/* Set up SurfaceGlobal struct */
SurfaceGlobal.fpVidMem = pSurface->lpGbl->fpVidMem;