mirror of https://github.com/encounter/SDL.git
Android: fix prototype of Android_JNI_InitTouch
This commit is contained in:
parent
7a1d1baefc
commit
b44a7aea8f
|
@ -2090,7 +2090,7 @@ int Android_JNI_GetPowerInfo(int *plugged, int *charged, int *battery, int *seco
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Add all touch devices */
|
/* Add all touch devices */
|
||||||
int Android_JNI_InitTouch() {
|
void Android_JNI_InitTouch() {
|
||||||
JNIEnv *env = Android_JNI_GetEnv();
|
JNIEnv *env = Android_JNI_GetEnv();
|
||||||
(*env)->CallStaticVoidMethod(env, mActivityClass, midInitTouch);
|
(*env)->CallStaticVoidMethod(env, mActivityClass, midInitTouch);
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,7 +93,7 @@ void Android_JNI_HapticStop(int device_id);
|
||||||
void Android_JNI_SuspendScreenSaver(SDL_bool suspend);
|
void Android_JNI_SuspendScreenSaver(SDL_bool suspend);
|
||||||
|
|
||||||
/* Touch support */
|
/* Touch support */
|
||||||
int Android_JNI_InitTouch(void);
|
void Android_JNI_InitTouch(void);
|
||||||
void Android_JNI_SetSeparateMouseAndTouch(SDL_bool new_value);
|
void Android_JNI_SetSeparateMouseAndTouch(SDL_bool new_value);
|
||||||
|
|
||||||
/* Threads */
|
/* Threads */
|
||||||
|
|
Loading…
Reference in New Issue