mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-12-26 15:29:19 +00:00
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:
parent
f0e55af6f0
commit
dcbf1ace18
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user