Added getPlatform() to linux
This commit is contained in:
parent
c6a231cf43
commit
bba7bf9462
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue