mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 22:01:46 +00:00
[client] kick the guest early to get the first frame faster
This commit is contained in:
parent
a413362e53
commit
74403cce8c
1 changed files with 4 additions and 0 deletions
|
@ -126,6 +126,10 @@ int renderThread(void * unused)
|
|||
format.height = 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)
|
||||
{
|
||||
// ensure the header magic is valid, this will help prevent crash out when the memory hasn't yet been initialized
|
||||
|
|
Loading…
Reference in a new issue