More debug output

This commit is contained in:
Elias Naur 2005-01-06 11:41:49 +00:00
parent a07ab9069e
commit 68c3c8629b
1 changed files with 2 additions and 1 deletions

View File

@ -356,7 +356,8 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Win32Display_grabMouse
throwException(env, "Could not set the CooperativeLevel (E_HANDLE).");
return;
default:
throwException(env, "Could not set the CooperativeLevel (Unkown error code).");
printfDebugJava(env, "Failed to set cooperative level with unknown error code %d\n", di_res);
throwException(env, "Could not set the CooperativeLevel (Unknown error code).");
return;
}
IDirectInputDevice_Acquire(mDIDevice);