ddraw: Handle DDBLT_DDROPS in ddraw_surface7_Blt().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
05b84945d5
commit
47635a60a0
|
@ -1553,6 +1553,14 @@ static HRESULT WINAPI DECLSPEC_HOTPATCH ddraw_surface7_Blt(IDirectDrawSurface7 *
|
|||
return DDERR_INVALIDPARAMS;
|
||||
}
|
||||
|
||||
if (Flags & DDBLT_DDROPS)
|
||||
{
|
||||
FIXME("DDBLT_DDROPS not implemented.\n");
|
||||
if (DDBltFx)
|
||||
FIXME(" rop %#x, pattern %p.\n", DDBltFx->dwDDROP, DDBltFx->u5.lpDDSPattern);
|
||||
return DDERR_NORASTEROPHW;
|
||||
}
|
||||
|
||||
wined3d_mutex_lock();
|
||||
|
||||
if (Flags & (DDBLT_COLORFILL | DDBLT_DEPTHFILL))
|
||||
|
|
|
@ -4375,10 +4375,6 @@ static HRESULT surface_cpu_blt(struct wined3d_surface *dst_surface, const RECT *
|
|||
{
|
||||
FIXME("DDBLT_DEPTHFILL needs to be implemented!\n");
|
||||
}
|
||||
if (flags & WINEDDBLT_DDROPS)
|
||||
{
|
||||
FIXME("\tDdraw Raster Ops: %08x Pattern: %p\n", fx->dwDDROP, fx->u5.lpDDSPattern);
|
||||
}
|
||||
/* Now the 'with source' blits. */
|
||||
if (src_surface)
|
||||
{
|
||||
|
|
|
@ -1279,7 +1279,6 @@ enum wined3d_display_rotation
|
|||
#define WINEDDBLT_ASYNC 0x00000200
|
||||
#define WINEDDBLT_COLORFILL 0x00000400
|
||||
#define WINEDDBLT_DDFX 0x00000800
|
||||
#define WINEDDBLT_DDROPS 0x00001000
|
||||
#define WINEDDBLT_KEYDEST 0x00002000
|
||||
#define WINEDDBLT_KEYDESTOVERRIDE 0x00004000
|
||||
#define WINEDDBLT_KEYSRC 0x00008000
|
||||
|
|
Loading…
Reference in New Issue