Reverted my change - it only makes things worse
This commit is contained in:
@@ -94,10 +94,8 @@ JAVA_EXPORT_NAME(DemoRenderer_nativeInit) ( JNIEnv* env, jobject thiz, jstring
|
||||
for( i = 0; i < argc; i++ )
|
||||
__android_log_print(ANDROID_LOG_INFO, "libSDL", "param %d = \"%s\"", i, argv[i]);
|
||||
|
||||
|
||||
// Redirect stdout and stderr - otherwise it crashes on Smartq V7
|
||||
freopen("/dev/null", "w", stdout);
|
||||
freopen("/dev/null", "w", stderr);
|
||||
//freopen("/dev/null", "w", stdout); // It crashes on Smartq V7 anyway, inside these lines
|
||||
//freopen("/dev/null", "w", stderr);
|
||||
|
||||
main( argc, argv );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user