mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[client] fixed incorrect kick timing
This commit is contained in:
parent
14efdf7314
commit
62ab543720
@ -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…
Reference in New Issue
Block a user