From 01fb67de876667145be7ed6d92d3c9c5fd2982db Mon Sep 17 00:00:00 2001 From: Lionel Ulmer Date: Wed, 10 Feb 1999 06:39:01 +0000 Subject: [PATCH] Fixed debug output to follow '-debugmsg' flags. --- graphics/ddraw.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/graphics/ddraw.c b/graphics/ddraw.c index accf11813b3..1f7a3878982 100644 --- a/graphics/ddraw.c +++ b/graphics/ddraw.c @@ -915,7 +915,9 @@ static HRESULT WINAPI IDirectDrawSurface4_BltFast( FIXME(ddraw,"(%p)->(%ld,%ld,%p,%p,%08lx)\n", this,dstx,dsty,src,rsrc,trans ); - FIXME(ddraw," trans:");_dump_DDBLTFAST(trans);fprintf(stderr,"\n"); + FIXME(ddraw," trans:"); + if (FIXME_ON(ddraw)) + _dump_DDBLTFAST(trans); FIXME(ddraw," srcrect: %dx%d-%dx%d\n",rsrc->left,rsrc->top,rsrc->right,rsrc->bottom); } /* We need to lock the surfaces, or we won't get refreshes when done. */