From a76af0ef8485bbfd5a7bd097665456aae7473b35 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sat, 3 Aug 2013 23:36:07 +0200 Subject: [PATCH] Fixed calling JNI method in a wrong way. Method is void and does not return bool. --- src/core/android/SDL_android.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/android/SDL_android.c b/src/core/android/SDL_android.c index 598e4095b..b5f4ea908 100644 --- a/src/core/android/SDL_android.c +++ b/src/core/android/SDL_android.c @@ -368,7 +368,7 @@ SDL_bool Android_JNI_DeleteContext(SDL_GLContext context) { /* There's only one context, so the parameter is ignored for now */ JNIEnv *env = Android_JNI_GetEnv(); - (*env)->CallStaticBooleanMethod(env, mActivityClass, midDeleteGLContext); + (*env)->CallStaticVoidMethod(env, mActivityClass, midDeleteGLContext); } void Android_JNI_SwapWindow()