Fixed calling JNI method in a wrong way.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 03 Aug 2013 23:36:07 +0200
changeset 7568d50ca5920421
parent 7567 52da75545aaa
child 7569 9fd3f4b23223
Fixed calling JNI method in a wrong way.
Method is void and does not return bool.
src/core/android/SDL_android.c
     1.1 --- a/src/core/android/SDL_android.c	Sat Aug 03 12:54:39 2013 -0300
     1.2 +++ b/src/core/android/SDL_android.c	Sat Aug 03 23:36:07 2013 +0200
     1.3 @@ -368,7 +368,7 @@
     1.4  {
     1.5      /* There's only one context, so the parameter is ignored for now */
     1.6      JNIEnv *env = Android_JNI_GetEnv();
     1.7 -    (*env)->CallStaticBooleanMethod(env, mActivityClass, midDeleteGLContext);
     1.8 +    (*env)->CallStaticVoidMethod(env, mActivityClass, midDeleteGLContext);
     1.9  }
    1.10  
    1.11  void Android_JNI_SwapWindow()