Browse Source

android: Use thiz instead of that in JNI code.

legacy
Sam Hocevar sam 13 years ago
parent
commit
c29f6a1fe8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/androidapp.cpp

+ 1
- 1
src/androidapp.cpp View File

@@ -35,7 +35,7 @@ Java_org_zoy_LolEngine_LolRenderer_nativeInit(JNIEnv* env)
} }


extern "C" void extern "C" void
Java_org_zoy_LolEngine_LolRenderer_nativeResize(JNIEnv* env, jobject that,
Java_org_zoy_LolEngine_LolRenderer_nativeResize(JNIEnv* env, jobject thiz,
jint w, jint h) jint w, jint h)
{ {
__android_log_print(ANDROID_LOG_INFO, "LOL", "resize w=%d h=%d", w, h); __android_log_print(ANDROID_LOG_INFO, "LOL", "resize w=%d h=%d", w, h);


Loading…
Cancel
Save