Stefan Dösinger : d3d8: Don' t print the ResourceManagerDiscardBytes fixme when Bytes == 0.

Alexandre Julliard julliard at winehq.org
Fri Jun 17 13:13:47 CDT 2011


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

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Tue Jun 14 20:36:08 2011 +0200

d3d8: Don't print the ResourceManagerDiscardBytes fixme when Bytes == 0.

---

 dlls/d3d8/device.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c
index 6266bfa..902c56b 100644
--- a/dlls/d3d8/device.c
+++ b/dlls/d3d8/device.c
@@ -364,7 +364,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_ResourceManagerDiscardBytes(IDirect3D
     HRESULT hr;
 
     TRACE("iface %p, byte_count %u.\n", iface, Bytes);
-    FIXME("Byte count ignored.\n");
+    if (Bytes) FIXME("Byte count ignored.\n");
 
     wined3d_mutex_lock();
     hr = wined3d_device_evict_managed_resources(This->wined3d_device);




More information about the wine-cvs mailing list