mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-13 14:51:51 -04:00
Update awt_GraphicsEnv.c
This commit is contained in:
parent
b475137c26
commit
86fe89e54f
@ -153,7 +153,7 @@ Java_sun_awt_X11GraphicsConfig_pGetBounds(JNIEnv *env, jobject this, jint screen
|
|||||||
JNU_GetLongFieldAsPtr(env, this, x11GraphicsConfigIDs.aData);
|
JNU_GetLongFieldAsPtr(env, this, x11GraphicsConfigIDs.aData);
|
||||||
*/
|
*/
|
||||||
clazz = (*env)->FindClass(env, "java/awt/Rectangle");
|
clazz = (*env)->FindClass(env, "java/awt/Rectangle");
|
||||||
CHECK_NULL_RETURN(clazz, NULL);
|
// CHECK_NULL_RETURN(clazz, NULL);
|
||||||
mid = (*env)->GetMethodID(env, clazz, "<init>", "(IIII)V");
|
mid = (*env)->GetMethodID(env, clazz, "<init>", "(IIII)V");
|
||||||
if (mid != NULL) {
|
if (mid != NULL) {
|
||||||
// TODO: change width height
|
// TODO: change width height
|
||||||
|
Loading…
x
Reference in New Issue
Block a user