int WINAPI WinMain(HINSTANCE hInst, HINSTANCE /*hPrevInst*/, LPSTR /*cmdLine*/, int /*cmdShow*/) { appInst = hInst; if (!AppInit()) { return 1; } // Message pump MSG msg; while (GetMessage(&msg, NULL, 0, 0)) { TranslateMessage(&msg); DispatchMessage(&msg); } AppDone(); return msg.wParam; }
/* Call to finalize the graphics state */ JNIEXPORT void JNICALL Java_com_rtsoft_rt3dapp_AppRenderer_nativeDone( JNIEnv* env ) { AppDone(env); }
/* Call to finalize the graphics state */ JNIEXPORT void JNICALL Java_${PACKAGE_NAME_WITH_UNDERSCORES}_AppRenderer_nativeDone( JNIEnv* env ) { AppDone(env); }