Mercurial > sdl-ios-xcode
diff android/testproject/jni/app-android.cpp @ 4712:8319aa8fa4dc
Code cleanup
author | Paul Hunkin <paul@bieh.net> |
---|---|
date | Tue, 29 Jun 2010 01:30:11 +1200 |
parents | ed040b480a9f |
children | ba38983b10c2 |
line wrap: on
line diff
--- a/android/testproject/jni/app-android.cpp Tue Jun 29 00:40:12 2010 +1200 +++ b/android/testproject/jni/app-android.cpp Tue Jun 29 01:30:11 2010 +1200 @@ -41,7 +41,7 @@ Functions called by JNI *******************************************************************************/ -extern "C" void Java_org_libsdl_android_TestActivity_nativeInit( JNIEnv* env, jobject obj ) +extern "C" void Java_org_libsdl_android_SDLActivity_nativeInit( JNIEnv* env, jobject obj ) { __android_log_print(ANDROID_LOG_INFO, "SDL", "JNI: NativeInit"); @@ -63,7 +63,7 @@ __android_log_print(ANDROID_LOG_INFO, "SDL", "JNI: OnLoad"); - jclass cls = mEnv->FindClass ("org/libsdl/android/TestActivity"); + jclass cls = mEnv->FindClass ("org/libsdl/android/SDLActivity"); mActivityInstance = cls; midCreateGLContext = mEnv->GetStaticMethodID(cls,"createGLContext","()V"); midFlipBuffers = mEnv->GetStaticMethodID(cls,"flipBuffers","()V");