Add DDBLT_DONOTWAIT flag.

Separate DDBLT_WAIT and DDBLT_ASYNC fixme in Blt method.
This commit is contained in:
Christian Costa 2005-11-14 11:22:20 +00:00 committed by Alexandre Julliard
parent d73904713f
commit d40302a833
2 changed files with 21 additions and 8 deletions

View File

@ -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]));

View File

@ -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 */