mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[c-host] respect the full queue
This commit is contained in:
2
LGMP
2
LGMP
Submodule LGMP updated: 006c16d626...cf0a8aa098
@@ -197,7 +197,10 @@ static int frameThread(void * opaque)
|
|||||||
|
|
||||||
/* we post and then get the frame, this is intentional! */
|
/* we post and then get the frame, this is intentional! */
|
||||||
if ((status = lgmpHostQueuePost(app.frameQueue, 0, app.frameMemory[app.frameIndex])) != LGMP_OK)
|
if ((status = lgmpHostQueuePost(app.frameQueue, 0, app.frameMemory[app.frameIndex])) != LGMP_OK)
|
||||||
|
{
|
||||||
DEBUG_ERROR("%s", lgmpStatusString(status));
|
DEBUG_ERROR("%s", lgmpStatusString(status));
|
||||||
|
continue;
|
||||||
|
}
|
||||||
app.iface->getFrame(fb);
|
app.iface->getFrame(fb);
|
||||||
}
|
}
|
||||||
DEBUG_INFO("Frame thread stopped");
|
DEBUG_INFO("Frame thread stopped");
|
||||||
|
Reference in New Issue
Block a user