mirror of
https://github.com/yawut/SDL.git
synced 2026-08-20 15:54:10 -05:00
Fixed calling JNI method in a wrong way.
Method is void and does not return bool.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user