fix verify failed when switching to overview (app list) on android
This commit is contained in:
parent
f29569cf5d
commit
d1550357ce
|
@ -198,13 +198,15 @@ bool rend_framePending() {
|
|||
|
||||
void FinishRender(TA_context* ctx)
|
||||
{
|
||||
verify(ctx == NULL || rqueue == ctx);
|
||||
mtx_rqueue.Lock();
|
||||
rqueue = 0;
|
||||
mtx_rqueue.Unlock();
|
||||
|
||||
if (ctx != NULL)
|
||||
{
|
||||
verify(rqueue == ctx);
|
||||
mtx_rqueue.Lock();
|
||||
rqueue = NULL;
|
||||
mtx_rqueue.Unlock();
|
||||
|
||||
tactx_Recycle(ctx);
|
||||
}
|
||||
frame_finished.Set();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue