Module: wine Branch: master Commit: 9605eb5af2ba7ad64612b5b83ddd97573b0c386d URL: http://source.winehq.org/git/wine.git/?a=commit;h=9605eb5af2ba7ad64612b5b83d...
Author: Christian Costa titan.costa@wanadoo.fr Date: Wed Dec 24 11:22:29 2008 +0100
ddraw: Display fixme only once in IDirect3DVertexBufferImpl_Optimize.
---
dlls/ddraw/vertexbuffer.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/dlls/ddraw/vertexbuffer.c b/dlls/ddraw/vertexbuffer.c index caac15f..9b2694a 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