1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-03 17:37:18 +00:00

Merge pull request #2090 from xyzz/nulls-in-c

android_main.c: Replace nullptr back to NULL since there are no nullptr in C
This commit is contained in:
Bret Curtis 2018-12-23 19:38:12 +01:00 committed by GitHub
commit a037e4c954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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