Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

Code cleanup

  • Loading branch information
bieh committed Jun 28, 2010
1 parent 877d51d commit 6f2641d19ef3f427a40b7758578f694a9557d0c0

File 3 of 5 in 6f2641d

@@ -41,7 +41,7 @@ extern "C" int SDL_main();
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 @@ extern "C" jint JNI_OnLoad(JavaVM* vm, void* reserved)

__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");

0 comments on commit 6f2641d

Please sign in to comment.