Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed calling JNI method in a wrong way.

Method is void and does not return bool.
  • Loading branch information
philippwiesemann committed Aug 3, 2013
1 parent bc75bc5 commit a76af0ef8485bbfd5a7bd097665456aae7473b35
Showing with 1 addition and 1 deletion.
  1. +1 −1 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()

0 comments on commit a76af0e

Please sign in to comment.