fix 'SDL_MessageBoxFlags' is not a valid JVM type.

This commit is contained in:
Brenton Bostick
2025-09-22 08:54:59 -04:00
committed by Sam Lantinga
parent 44e4deab7c
commit ed7d39b28c

View File

@@ -2227,7 +2227,7 @@ bool Android_JNI_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *b
mid = (*env)->GetMethodID(env, clazz,
"messageboxShowMessageBox", "(ILjava/lang/String;Ljava/lang/String;[I[I[Ljava/lang/String;[I)I");
*buttonID = (*env)->CallIntMethod(env, context, mid,
messageboxdata->flags,
(jint)messageboxdata->flags,
title,
message,
button_flags,