last commit for today

fixing some compile warings for ddraw. 

svn path=/trunk/; revision=27220
This commit is contained in:
Magnus Olsen 2007-06-17 22:11:08 +00:00
parent 2f7fc5300c
commit 7ae32c6424
2 changed files with 5 additions and 2 deletions

View file

@ -266,4 +266,5 @@ Main_DirectDraw_GetCaps( LPDIRECTDRAW7 iface, LPDDCAPS pDriverCaps,
_SEH_END;
return retVal;
}
}

View file

@ -121,11 +121,13 @@ Internal_CreateSurface( LPDDRAWI_DIRECTDRAW_INT pDDraw, LPDDSURFACEDESC2 pDDSD,
ThisSurfInt->lpLcl = ThisSurfLcl;
ThisSurfLcl->lpGbl = ThisSurfaceGbl;
ThisSurfLcl->lpSurfMore = ThisSurfaceMore;
ThisSurfaceGbl->lpDD = pDDraw->lpLcl->lpGbl;
/* FIXME set right version */
ThisSurfInt->lpVtbl = &DirectDrawSurface7_Vtable;
ThisSurfLcl->lpSurfMore = ThisSurfaceMore;
ThisSurfaceMore->dwSize = sizeof(DDRAWI_DDRAWSURFACE_MORE);
ThisSurfaceMore->lpDD_int = pDDraw;
ThisSurfaceMore->lpDD_lcl = pDDraw->lpLcl;