JNIEXPORT void JNICALL Java_com_android_gl2jni_GL2JNILib_step(JNIEnv * env, jobject obj) { //renderFrame(); ejoy2d_win_update(); ejoy2d_win_frame(); }
static void update_frame() { ejoy2d_win_frame(); glXSwapBuffers(g_X.display, g_X.wnd); }