2 #include "../vgavideo/vgavideo.h"
10 DrvTransparentBlt(SURFOBJ
* Dest
,
13 XLATEOBJ
* ColorTranslation
,
16 ULONG TransparentColor
,
21 dx
= abs(DestRect
->right
- DestRect
->left
);
22 dy
= abs(DestRect
->bottom
- DestRect
->top
);
24 sx
= abs(SourceRect
->right
- SourceRect
->left
);
25 sy
= abs(SourceRect
->bottom
- SourceRect
->top
);
30 // FIXME: adjust using SourceRect
31 DIB_TransparentBltToVGA(DestRect
->left
, DestRect
->top
, dx
, dy
, Source
->pvScan0
, Source
->lDelta
, TransparentColor
);