Fixed calling JNI method in a wrong way.

Method is void and does not return bool.
This commit is contained in:
Philipp Wiesemann 2013-08-03 23:36:07 +02:00
parent 2a6b235190
commit ea1040111a

View file

@ -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()