From 9605eb5af2ba7ad64612b5b83ddd97573b0c386d Mon Sep 17 00:00:00 2001 From: Christian Costa Date: Wed, 24 Dec 2008 11:22:29 +0100 Subject: [PATCH] ddraw: Display fixme only once in IDirect3DVertexBufferImpl_Optimize. --- dlls/ddraw/vertexbuffer.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dlls/ddraw/vertexbuffer.c b/dlls/ddraw/vertexbuffer.c index caac15f71b..9b2694a6fe 100644 --- a/dlls/ddraw/vertexbuffer.c +++ b/dlls/ddraw/vertexbuffer.c @@ -509,7 +509,13 @@ IDirect3DVertexBufferImpl_Optimize(IDirect3DVertexBuffer7 *iface, { ICOM_THIS_FROM(IDirect3DVertexBufferImpl, IDirect3DVertexBuffer7, iface); IDirect3DDeviceImpl *D3D = ICOM_OBJECT(IDirect3DDeviceImpl, IDirect3DDevice7, D3DDevice); - FIXME("(%p)->(%p,%08x): stub!\n", This, D3D, Flags); + static BOOL hide = FALSE; + + if (!hide) + { + FIXME("(%p)->(%p,%08x): stub!\n", This, D3D, Flags); + hide = TRUE; + } /* We could forward this call to WineD3D and take advantage * of it once we use OpenGL vertex buffers -- 2.32.0.93.g670b81a890