ddraw: Display fixme only once in IDirectDrawImpl_WaitForVerticalBlank.

oldstable
Christian Costa 2008-12-31 13:15:05 +01:00 committed by Alexandre Julliard
parent 82ebebc671
commit 3b64f895b1
1 changed files with 8 additions and 1 deletions

View File

@ -1107,7 +1107,14 @@ IDirectDrawImpl_WaitForVerticalBlank(IDirectDraw7 *iface,
HANDLE h)
{
ICOM_THIS_FROM(IDirectDrawImpl, IDirectDraw7, iface);
FIXME("(%p)->(%x,%p): Stub\n", This, Flags, h);
static BOOL hide = FALSE;
/* This function is called often, so print the fixme only once */
if(!hide)
{
FIXME("(%p)->(%x,%p): Stub\n", This, Flags, h);
hide = TRUE;
}
/* MSDN says DDWAITVB_BLOCKBEGINEVENT is not supported */
if(Flags & DDWAITVB_BLOCKBEGINEVENT)