Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk

This commit is contained in:
khanhduytran0 2020-12-01 13:14:46 +07:00
commit bb348c1532

View File

@ -25,6 +25,7 @@
#include <jni.h>
#include <stdlib.h>
#include <unistd.h>
// extern JavaVM *jvm;
@ -96,17 +97,6 @@ JNIEXPORT jlong JNICALL Java_sun_awt_X11_XToolkit_getDefaultXColormap
return (jlong) 0;
}
JNIEXPORT jint JNICALL
JNI_OnLoad(JavaVM *vm, void *reserved)
{
// jvm = vm;
//Set the gtk backend to x11 on all the systems
// putenv("GDK_BACKEND=x11");
return JNI_VERSION_1_2;
}
/*
* Class: sun_awt_X11_XToolkit
* Method: nativeLoadSystemColors