Do not call exit() when app put to background, we'll recreate GL textures from SDL (not done yet!)
This commit is contained in:
@@ -46,6 +46,7 @@ JAVA_EXPORT_NAME(DemoRenderer_nativeInit) ( JNIEnv* env, jobject thiz )
|
||||
chdir(curdir);
|
||||
setenv("HOME", curdir, 1);
|
||||
|
||||
__android_log_print(ANDROID_LOG_INFO, "libSDL", "Calling SDL_main()" );
|
||||
main( argc, argv );
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user