mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-19 09:39:25 -04:00
Merge branch 'v3_openjdk' of https://github.com/PojavLauncherTeam/PojavLauncher into v3_openjdk
This commit is contained in:
commit
bb348c1532
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user