mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-08-11 10:25:52 +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:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user