Fix compile
Modified: trunk/reactos/lib/ddraw/hal/surface_hal.c
Modified: trunk/reactos/lib/ddraw/main/surface_main.c

Modified: trunk/reactos/lib/ddraw/hal/surface_hal.c
--- trunk/reactos/lib/ddraw/hal/surface_hal.c	2005-10-30 15:34:03 UTC (rev 18884)
+++ trunk/reactos/lib/ddraw/hal/surface_hal.c	2005-10-30 15:39:00 UTC (rev 18885)
@@ -24,10 +24,10 @@
 	DDHAL_BLTDATA BltData;
 	BltData.lpDD = &This->owner->DirectDrawGlobal;
 	BltData.dwFlags = dwFlags;
-	BltData.lpDDDestSurface = This->local;
+	BltData.lpDDDestSurface = &This->Local;
     if(rDest) BltData.rDest = *(RECTL*)rDest;
     if(rSrc) BltData.rSrc = *(RECTL*)rSrc;
-    if(That) BltData.lpDDSrcSurface = That->local;
+    if(That) BltData.lpDDSrcSurface = &That->Local;
 	if(lpbltfx) BltData.bltFX = *lpbltfx;
 
 	if (This->owner->DirectDrawGlobal.lpDDCBtmp->HALDDSurface.Blt(&BltData) != DDHAL_DRIVER_HANDLED)
@@ -37,4 +37,3 @@
 	
 	return BltData.ddRVal;
 }
-

Modified: trunk/reactos/lib/ddraw/main/surface_main.c
--- trunk/reactos/lib/ddraw/main/surface_main.c	2005-10-30 15:34:03 UTC (rev 18884)
+++ trunk/reactos/lib/ddraw/main/surface_main.c	2005-10-30 15:39:00 UTC (rev 18885)
@@ -43,7 +43,7 @@
 
 	/* surface global struct */
 	memset(&This->Global, 0, sizeof(DDRAWI_DDRAWSURFACE_GBL));
-	This->Global.lpDD = &This->owner->DirectDrawThis->Global;	
+	This->Global.lpDD = &This->owner->DirectDrawGlobal;	
 	This->Global.wHeight = This->owner->Height;
 	This->Global.wWidth = This->owner->Width;
 	This->Global.dwLinearSize =  This->Global.wWidth * This->owner->Bpp/8;