[1/6] wined3d: Add warn trace for INVALIDCALL case in CheckDeviceType.

Jan Zerebecki jan.wine at zerebecki.de
Thu Nov 23 12:56:31 CST 2006


Mail-Followup-To: wine-devel at winehq.org

If this patch is rejected from inclusion, please tell me why, as
I would have to ask anyway.

From: Jan Zerebecki <jan.wine at zerebecki.de>
Changelog:
wined3d: Add warn trace for INVALIDCALL case in CheckDeviceType.
---

 dlls/wined3d/directx.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index a8e8740..6370602 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1575,6 +1575,7 @@ static HRESULT WINAPI IWineD3DImpl_Check
           Windowed);
 
     if (Adapter >= IWineD3D_GetAdapterCount(iface)) {
+        WARN_(d3d_caps)("Adapter >= IWineD3D_GetAdapterCount(iface), returning WINED3DERR_INVALIDCALL\n");
         return WINED3DERR_INVALIDCALL;
     }
 



More information about the wine-patches mailing list