Module: wine Branch: master Commit: 3b64f895b1b8c703c730d25dca24c0b8ae4dd0f7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3b64f895b1b8c703c730d25dca...
Author: Christian Costa titan.costa@wanadoo.fr Date: Wed Dec 31 13:15:05 2008 +0100
ddraw: Display fixme only once in IDirectDrawImpl_WaitForVerticalBlank.
---
dlls/ddraw/ddraw.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c index 8033b15..7024a0f 100644 --- a/dlls/ddraw/ddraw.c +++ b/dlls/ddraw/ddraw.c @@ -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)