mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 16:47:14 -04:00
Fix
This commit is contained in:
parent
86fe89e54f
commit
70a42c3a14
@ -276,10 +276,10 @@ X11GD_CreateDisplayMode(JNIEnv *env, jint width, jint height,
|
||||
jint validRefreshRate = refreshRate;
|
||||
|
||||
displayModeClass = (*env)->FindClass(env, "java/awt/DisplayMode");
|
||||
assert(displayModeClass != null);
|
||||
assert(displayModeClass != NULL);
|
||||
|
||||
cid = (*env)->GetMethodID(env, displayModeClass, "<init>", "(IIII)V");
|
||||
assert(cid != null);
|
||||
assert(cid != NULL);
|
||||
/*
|
||||
CHECK_NULL_RETURN(cid, NULL);
|
||||
if (cid == NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user