1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-24 23:11:34 +00:00

android_main.c: Replace nullptr back to NULL since there are no nullptr in C

This commit is contained in:
Ilya Zhuravlev 2018-12-22 22:21:26 -05:00
parent 8e113a32b2
commit 09585b7208

View file

@ -20,14 +20,14 @@ void releaseArgv();
int Java_org_libsdl_app_SDLActivity_getMouseX(JNIEnv *env, jclass cls, jobject obj) { int Java_org_libsdl_app_SDLActivity_getMouseX(JNIEnv *env, jclass cls, jobject obj) {
int ret = 0; int ret = 0;
SDL_GetMouseState(&ret, nullptr); SDL_GetMouseState(&ret, NULL);
return ret; return ret;
} }
int Java_org_libsdl_app_SDLActivity_getMouseY(JNIEnv *env, jclass cls, jobject obj) { int Java_org_libsdl_app_SDLActivity_getMouseY(JNIEnv *env, jclass cls, jobject obj) {
int ret = 0; int ret = 0;
SDL_GetMouseState(nullptr, &ret); SDL_GetMouseState(NULL, &ret);
return ret; return ret;
} }