Added debugging
This commit is contained in:
parent
da186e5057
commit
a07ab9069e
|
@ -359,10 +359,6 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Win32Display_grabMouse
|
||||||
throwException(env, "Could not set the CooperativeLevel (Unkown error code).");
|
throwException(env, "Could not set the CooperativeLevel (Unkown error code).");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (IDirectInputDevice_SetCooperativeLevel(mDIDevice, getCurrentHWND(), mouseMask) != DI_OK) {
|
|
||||||
throwException(env, "Could not set the CooperativeLevel.");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
IDirectInputDevice_Acquire(mDIDevice);
|
IDirectInputDevice_Acquire(mDIDevice);
|
||||||
initEventQueue(&event_queue, EVENT_SIZE);
|
initEventQueue(&event_queue, EVENT_SIZE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue