Louis Lenders : d3d9: Quiet a few noisy fixme's.

Alexandre Julliard julliard at winehq.org
Mon Nov 9 15:14:18 CST 2009


Module: wine
Branch: master
Commit: cdb2ccd2d8d00153de065c5f0ce5504b5bc4a8dd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cdb2ccd2d8d00153de065c5f0ce5504b5bc4a8dd

Author: Louis Lenders <xerox_xerox2000 at yahoo.co.uk>
Date:   Sun Nov  8 14:45:57 2009 +0100

d3d9: Quiet a few noisy fixme's.

---

 dlls/d3d9/d3d9_main.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/dlls/d3d9/d3d9_main.c b/dlls/d3d9/d3d9_main.c
index e8b4a97..c405a57 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,7 @@ 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));
+    TRACE("(color %#x, name %s) : stub\n", color, debugstr_w(name));
 
     return D3DPERF_event_level++;
 }
@@ -108,7 +110,7 @@ int WINAPI D3DPERF_BeginEvent(D3DCOLOR color, LPCWSTR name) {
  *              D3DPERF_EndEvent (D3D9.@)
  */
 int WINAPI D3DPERF_EndEvent(void) {
-    FIXME("(void) : stub\n");
+    TRACE("(void) : stub\n");
 
     return --D3DPERF_event_level;
 }




More information about the wine-cvs mailing list