mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
Fix compile
svn path=/trunk/; revision=18885
This commit is contained in:
parent
c515c8db37
commit
41477c4529
2 changed files with 3 additions and 4 deletions
|
@ -24,10 +24,10 @@ HRESULT Hal_DDrawSurface_Blt(LPDIRECTDRAWSURFACE7 iface, LPRECT rDest,
|
|||
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 @@ HRESULT Hal_DDrawSurface_Blt(LPDIRECTDRAWSURFACE7 iface, LPRECT rDest,
|
|||
|
||||
return BltData.ddRVal;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ HRESULT WINAPI Main_DDrawSurface_Initialize (LPDIRECTDRAWSURFACE7 iface, LPDIREC
|
|||
|
||||
/* 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;
|
||||
|
|
Loading…
Reference in a new issue