Commit d40302a8 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

Add DDBLT_DONOTWAIT flag.

Separate DDBLT_WAIT and DDBLT_ASYNC fixme in Blt method.
parent d7390471
......@@ -405,7 +405,8 @@ void DDRAW_dump_DDBLT(DWORD flagmask)
FE(DDBLT_ZBUFFERSRCCONSTOVERRIDE),
FE(DDBLT_ZBUFFERSRCOVERRIDE),
FE(DDBLT_WAIT),
FE(DDBLT_DEPTHFILL)
FE(DDBLT_DEPTHFILL),
FE(DDBLT_DONOTWAIT)
};
DDRAW_dump_flags(flagmask, flags, sizeof(flags)/sizeof(flags[0]));
......
......@@ -669,15 +669,27 @@ DIB_DirectDrawSurface_Blt(LPDIRECTDRAWSURFACE7 iface, LPRECT rdst,
dbuf = (BYTE*)ddesc.lpSurface+(xdst.top*ddesc.u1.lPitch)+(xdst.left*bpp);
if (dwFlags & (DDBLT_WAIT|DDBLT_ASYNC))
{
if (dwFlags & DDBLT_WAIT) {
static BOOL displayed = FALSE;
if (!displayed)
{
FIXME("dwFlags DDBLT_WAIT and/or DDBLT_ASYNC: can't handle right now.\n");
displayed = TRUE;
}
dwFlags &= ~(DDBLT_WAIT|DDBLT_ASYNC);
FIXME("Can't handle DDBLT_WAIT flag right now.\n");
displayed = TRUE;
dwFlags &= ~DDBLT_WAIT;
}
if (dwFlags & DDBLT_ASYNC) {
static BOOL displayed = FALSE;
if (!displayed)
FIXME("Can't handle DDBLT_ASYNC flag right now.\n");
displayed = TRUE;
dwFlags &= ~DDBLT_ASYNC;
}
if (dwFlags & DDBLT_DONOTWAIT) {
/* DDBLT_DONOTWAIT appeared in DX7 */
static BOOL displayed = FALSE;
if (!displayed)
FIXME("Can't handle DDBLT_DONOTWAIT flag right now.\n");
displayed = TRUE;
dwFlags &= ~DDBLT_DONOTWAIT;
}
/* First, all the 'source-less' blits */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment