mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-02-22 19:31:21 +00:00
[client] fixed incorrect kick timing
This commit is contained in:
parent
14efdf7314
commit
62ab543720
1 changed files with 2 additions and 1 deletions
|
@ -216,7 +216,6 @@ int renderThread(void * unused)
|
|||
break;
|
||||
|
||||
memcpy(&newHeader, state.shm, sizeof(struct KVMGFXHeader));
|
||||
ivshmem_kick_irq(newHeader.guestID, 0);
|
||||
|
||||
// ensure the header magic is valid, this will help prevent crash out when the memory hasn't yet been initialized
|
||||
if (
|
||||
|
@ -511,6 +510,8 @@ int renderThread(void * unused)
|
|||
}
|
||||
|
||||
SDL_RenderPresent(state.renderer);
|
||||
ivshmem_kick_irq(newHeader.guestID, 0);
|
||||
|
||||
state.started = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue