Module: wine Branch: master Commit: 9123e8f3746df272a2369f8b56c0045564d28db0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9123e8f3746df272a2369f8b56...
Author: Roderick Colenbrander thunderbird2k@gmx.net Date: Sun Mar 23 00:00:19 2008 +0000
wined3d: Add more debug code to CheckDeviceFormat.
---
dlls/wined3d/directx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index ef9f27e..5d470c4 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -2613,7 +2613,7 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapt } else if((UsageCaps == (Usage & ~WINED3DUSAGE_AUTOGENMIPMAP)) && (Usage & WINED3DUSAGE_AUTOGENMIPMAP)){ return WINED3DOK_NOAUTOGEN; } else { - TRACE_(d3d_caps)("[FAILED] - Usage=%#08x requested but only %#08x is available\n", Usage, UsageCaps); + TRACE_(d3d_caps)("[FAILED] - Usage=%#08x requested for CheckFormat=%s and RType=%d but only %#08x is available\n", Usage, debug_d3dformat(CheckFormat), RType, UsageCaps); return WINED3DERR_NOTAVAILABLE; } }