Reverted the Keyboard.poll() change

This commit is contained in:
Elias Naur 2002-11-26 08:15:17 +00:00
parent c0c4e60d29
commit 7c031a8486
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ int checkKeyEvents(unsigned char *result_buf) {
JNIEXPORT void JNICALL Java_org_lwjgl_input_Keyboard_nPoll
(JNIEnv * env, jclass clazz, jint buf)
{
//checkKeyEvents(NULL);
checkKeyEvents(NULL);
memcpy((unsigned char*)buf, key_buf, KEYBOARD_SIZE*sizeof(unsigned char));
}