Jan Zerebecki : wined3d: Add warn trace for INVALIDCALL case in CheckDeviceType.
Module: wine Branch: master Commit: 0d66f794d1586a8972435d1d115fa10838a2d73e URL: http://source.winehq.org/git/wine.git/?a=commit;h=0d66f794d1586a8972435d1d11... Author: Jan Zerebecki <jan.wine(a)zerebecki.de> Date: Thu Nov 23 19:56:31 2006 +0100 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 c46af63..0413520 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -1577,6 +1577,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; }
participants (1)
-
Alexandre Julliard