From 94ca1acc3701f0877cb3317acba6d0bde0edbdaa Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Sat, 9 Dec 2006 12:11:09 +0000 Subject: [PATCH] revert the 25082 it cause unknown regress. I did not notice it becose I did have a crashed dx hal interface. svn path=/trunk/; revision=25099 --- reactos/dll/directx/ddraw/main/ddraw_main.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/reactos/dll/directx/ddraw/main/ddraw_main.c b/reactos/dll/directx/ddraw/main/ddraw_main.c index a69aeeeb1eb..7c191870295 100644 --- a/reactos/dll/directx/ddraw/main/ddraw_main.c +++ b/reactos/dll/directx/ddraw/main/ddraw_main.c @@ -217,10 +217,6 @@ HRESULT WINAPI Main_DirectDraw_CreateSurface (LPDIRECTDRAW7 iface, LPDDSURFACEDE That->lpLcl->lpGbl = &ddSurfGbl; That->lpLcl->lpGbl->lpDD = &ddgbl; - That->lpLcl->lpSurfMore = (LPDDRAWI_DDRAWSURFACE_MORE)DxHeapMemAlloc(sizeof(LPDDRAWI_DDRAWSURFACE_MORE)); - That->lpLcl->lpSurfMore->lpDD_int = This; - That->lpLcl->lpSurfMore->lpDD_lcl = This->lpLcl; - /* Code from wine cvs 24/7-2006 */ @@ -254,7 +250,6 @@ HRESULT WINAPI Main_DirectDraw_CreateSurface (LPDIRECTDRAW7 iface, LPDDSURFACEDE /* own code now */ - mDdCanCreateSurface.lpDD = This->lpLcl->lpGbl; mDdCanCreateSurface.bIsDifferentPixelFormat = FALSE; mDdCanCreateSurface.lpDDSurfaceDesc = (LPDDSURFACEDESC) pDDSD;