From a07ab9069efc2e901ffed9c8c1e97efc7c0e695d Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Thu, 6 Jan 2005 09:18:25 +0000 Subject: [PATCH] Added debugging --- src/native/win32/org_lwjgl_input_Mouse.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/native/win32/org_lwjgl_input_Mouse.c b/src/native/win32/org_lwjgl_input_Mouse.c index bddd1824..2b983bdf 100644 --- a/src/native/win32/org_lwjgl_input_Mouse.c +++ b/src/native/win32/org_lwjgl_input_Mouse.c @@ -359,10 +359,6 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Win32Display_grabMouse throwException(env, "Could not set the CooperativeLevel (Unkown error code)."); return; } - if (IDirectInputDevice_SetCooperativeLevel(mDIDevice, getCurrentHWND(), mouseMask) != DI_OK) { - throwException(env, "Could not set the CooperativeLevel."); - return; - } IDirectInputDevice_Acquire(mDIDevice); initEventQueue(&event_queue, EVENT_SIZE); }