src/core/android/SDL_android.c
changeset 7575 930f21eaacd7
parent 7569 9fd3f4b23223
child 7612 627d571587d3
equal deleted inserted replaced
7574:006f7a09ea1c 7575:930f21eaacd7
   362     (*env)->DeleteLocalRef(env, array);
   362     (*env)->DeleteLocalRef(env, array);
   363 
   363 
   364     return success ? SDL_TRUE : SDL_FALSE;
   364     return success ? SDL_TRUE : SDL_FALSE;
   365 }
   365 }
   366 
   366 
   367 SDL_bool Android_JNI_DeleteContext(SDL_GLContext context) 
   367 SDL_bool Android_JNI_DeleteContext(void)
   368 {
   368 {
   369     /* There's only one context, so the parameter is ignored for now */
   369     /* There's only one context, so no parameter for now */
   370     JNIEnv *env = Android_JNI_GetEnv();
   370     JNIEnv *env = Android_JNI_GetEnv();
   371     (*env)->CallStaticVoidMethod(env, mActivityClass, midDeleteGLContext);
   371     (*env)->CallStaticVoidMethod(env, mActivityClass, midDeleteGLContext);
   372     return SDL_TRUE;
   372     return SDL_TRUE;
   373 }
   373 }
   374 
   374