Remove an assertion that can be wrong if user is spamming app lifecycle backgrounding/foregrounding

- Unlikely to be a real problem if CPU thread is not paused when we are initializing the render thread
This commit is contained in:
Aaron Culliney 2016-02-20 11:07:29 -08:00
parent f0e55af6f0
commit dcbf1ace18

View File

@ -199,10 +199,6 @@ void Java_org_deadc0de_apple2ix_Apple2View_nativeGraphicsInitialized(JNIEnv *env
LOG("width:%d height:%d landscape:%d", width, height, landscape); LOG("width:%d height:%d landscape:%d", width, height, landscape);
_video_setRenderThread(pthread_self()); // Assume Android knows what it's doing ;-P _video_setRenderThread(pthread_self()); // Assume Android knows what it's doing ;-P
#if !TESTING
assert(cpu_isPaused());
#endif
video_shutdown(false); video_shutdown(false);
video_reshape(width, height, landscape); video_reshape(width, height, landscape);
video_init(); video_init();