engine/Templates/SalmonUniversalTemplate/jni/android_api.cpp

11 lines
252 B
C++
Raw Permalink Normal View History

2013-01-19 20:02:34 +00:00
#include "android_api.h"
#include "main_code.h"
JNIEXPORT void JNICALL Java_fishrungames_salmonjnitemplate_JniWrapper_Init(JNIEnv * env, jobject obj, jint width, jint height)
{
2013-02-10 12:46:44 +00:00
JniInitApp<TMyApplication>(width, height, 480.f, 320.f);
2013-01-19 20:02:34 +00:00
}