From 68c3c8629b0521972530d8f7e03462f835121c20 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Thu, 6 Jan 2005 11:41:49 +0000 Subject: [PATCH] More debug output --- src/native/win32/org_lwjgl_input_Mouse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/native/win32/org_lwjgl_input_Mouse.c b/src/native/win32/org_lwjgl_input_Mouse.c index 2b983bdf..60c2a7c1 100644 --- a/src/native/win32/org_lwjgl_input_Mouse.c +++ b/src/native/win32/org_lwjgl_input_Mouse.c @@ -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);