mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[c-host] respect the full queue
This commit is contained in:
parent
418149c9a6
commit
8f8ebab712
2
LGMP
2
LGMP
@ -1 +1 @@
|
|||||||
Subproject commit 006c16d6265b18276700a1c07833ce51543ea4c7
|
Subproject commit cf0a8aa09864363b7bbf4d51584417cf4fe0f7be
|
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user