mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-09-03 05:40:54 +00:00
[client] kick the guest early to get the first frame faster
This commit is contained in:
@@ -126,6 +126,10 @@ int renderThread(void * unused)
|
|||||||
format.height = 0;
|
format.height = 0;
|
||||||
format.stride = 0;
|
format.stride = 0;
|
||||||
|
|
||||||
|
// kick the guest early for our intial frame
|
||||||
|
// the guestID may be invalid, it doesn't matter
|
||||||
|
ivshmem_kick_irq(state.shm->guestID, 0);
|
||||||
|
|
||||||
while(state.running)
|
while(state.running)
|
||||||
{
|
{
|
||||||
// ensure the header magic is valid, this will help prevent crash out when the memory hasn't yet been initialized
|
// ensure the header magic is valid, this will help prevent crash out when the memory hasn't yet been initialized
|
||||||
|
Reference in New Issue
Block a user