From 9408dde38c46d4ed27b17448ccd412d71fc09fc3 Mon Sep 17 00:00:00 2001 From: Louis Lenders Date: Sun, 8 Nov 2009 13:08:35 +0100 Subject: d3d9: quiet a few noisy fixme's --- dlls/d3d9/d3d9_main.c | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/dlls/d3d9/d3d9_main.c b/dlls/d3d9/d3d9_main.c index e8b4a97..35412f2 100644 --- a/dlls/d3d9/d3d9_main.c +++ b/dlls/d3d9/d3d9_main.c @@ -78,7 +78,9 @@ HRESULT WINAPI DECLSPEC_HOTPATCH Direct3DCreate9Ex(UINT SDKVersion, IDirect3D9Ex */ void* WINAPI Direct3DShaderValidatorCreate9(void) { - FIXME("stub\n"); + static int once; + + if (!once++) FIXME("stub\n"); return NULL; } @@ -99,7 +101,9 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) * D3DPERF_BeginEvent (D3D9.@) */ int WINAPI D3DPERF_BeginEvent(D3DCOLOR color, LPCWSTR name) { - FIXME("(color %#x, name %s) : stub\n", color, debugstr_w(name)); + static int once; + + if (!once++) FIXME("(color %#x, name %s) : stub\n", color, debugstr_w(name)); return D3DPERF_event_level++; } @@ -108,7 +112,9 @@ int WINAPI D3DPERF_BeginEvent(D3DCOLOR color, LPCWSTR name) { * D3DPERF_EndEvent (D3D9.@) */ int WINAPI D3DPERF_EndEvent(void) { - FIXME("(void) : stub\n"); + static int once; + + if (!once++) FIXME("(void) : stub\n"); return --D3DPERF_event_level; } -- 1.6.3.3