mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-03 16:36:25 +00:00
fix 'SDL_MessageBoxFlags' is not a valid JVM type.
(cherry picked from commit ed7d39b28c
)
This commit is contained in:

committed by
Sam Lantinga

parent
c3480ca99c
commit
0f17fbe1ca
@@ -2164,7 +2164,7 @@ bool Android_JNI_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *b
|
|||||||
mid = (*env)->GetMethodID(env, clazz,
|
mid = (*env)->GetMethodID(env, clazz,
|
||||||
"messageboxShowMessageBox", "(ILjava/lang/String;Ljava/lang/String;[I[I[Ljava/lang/String;[I)I");
|
"messageboxShowMessageBox", "(ILjava/lang/String;Ljava/lang/String;[I[I[Ljava/lang/String;[I)I");
|
||||||
*buttonID = (*env)->CallIntMethod(env, context, mid,
|
*buttonID = (*env)->CallIntMethod(env, context, mid,
|
||||||
messageboxdata->flags,
|
(jint)messageboxdata->flags,
|
||||||
title,
|
title,
|
||||||
message,
|
message,
|
||||||
button_flags,
|
button_flags,
|
||||||
|
Reference in New Issue
Block a user