mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[client] kick the guest early to get the first frame faster
This commit is contained in:
parent
a413362e53
commit
74403cce8c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user