Module: wine Branch: master Commit: ae5ca837d54753d29692e6c715b0ffcb526c7092 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ae5ca837d54753d29692e6c715...
Author: Stefan Dösinger stefan@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);