Fixed calling JNI method in a wrong way.
Method is void and does not return bool.
This commit is contained in:
parent
2a6b235190
commit
ea1040111a
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue