Louis Lenders : d3dx9_36: Quiet a noisy fixme.

Alexandre Julliard julliard at winehq.org
Fri Nov 12 11:22:38 CST 2010


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

Author: Louis Lenders <xerox_xerox2000 at yahoo.co.uk>
Date:   Fri Nov 12 10:44:09 2010 +0100

d3dx9_36: Quiet a noisy fixme.

---

 dlls/d3dx9_36/surface.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/d3dx9_36/surface.c b/dlls/d3dx9_36/surface.c
index e4d1802..e9af051 100644
--- a/dlls/d3dx9_36/surface.c
+++ b/dlls/d3dx9_36/surface.c
@@ -59,8 +59,10 @@ HRESULT WINAPI D3DXGetImageInfoFromFileInMemory(LPCVOID data, UINT datasize, D3D
     IWICStream *stream;
     HRESULT hr;
     HRESULT initresult;
+    static int warn_once;
 
-    FIXME("(%p, %d, %p): partially implemented\n", data, datasize, info);
+    if (!warn_once++)
+        FIXME("(%p, %d, %p): partially implemented\n", data, datasize, info);
 
     /* TODO: Add support for (or at least detect) TGA, DDS, PPM and DIB */
 




More information about the wine-cvs mailing list