Added getPlatform() to linux

This commit is contained in:
Elias Naur 2003-03-21 17:37:58 +00:00
parent c6a231cf43
commit bba7bf9462
1 changed files with 10 additions and 0 deletions

View File

@ -508,3 +508,13 @@ JNIEXPORT jobjectArray JNICALL Java_org_lwjgl_Display_nGetAvailableDisplayModes
return ret;
}
/*
* Class: org_lwjgl_Display
* Method: getPlatform
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_org_lwjgl_Display_getPlatform
(JNIEnv * env, jclass clazz)
{
return org_lwjgl_Display_PLATFORM_GLX;
}