wined3d: Add warn trace for INVALIDCALL case in CheckDeviceType.

This commit is contained in:
Jan Zerebecki 2006-11-23 19:56:31 +01:00 committed by Alexandre Julliard
parent 3e2ed5e4e5
commit 0d66f794d1
1 changed files with 1 additions and 0 deletions

View File

@ -1577,6 +1577,7 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceType(IWineD3D *iface, UINT Adapter
Windowed);
if (Adapter >= IWineD3D_GetAdapterCount(iface)) {
WARN_(d3d_caps)("Adapter >= IWineD3D_GetAdapterCount(iface), returning WINED3DERR_INVALIDCALL\n");
return WINED3DERR_INVALIDCALL;
}