mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 14:21:57 +00:00
[client] initialize the local header copy for proper startup
This commit is contained in:
parent
0948dda12f
commit
b6c8136565
1 changed files with 2 additions and 0 deletions
|
@ -147,6 +147,8 @@ int renderThread(void * unused)
|
||||||
struct KVMFRHeader header;
|
struct KVMFRHeader header;
|
||||||
volatile uint32_t * updateCount = &state.shm->updateCount;
|
volatile uint32_t * updateCount = &state.shm->updateCount;
|
||||||
|
|
||||||
|
memset(&header, 0, sizeof(struct KVMFRHeader));
|
||||||
|
|
||||||
while(state.running)
|
while(state.running)
|
||||||
{
|
{
|
||||||
// poll until we have a new frame, or we time out
|
// poll until we have a new frame, or we time out
|
||||||
|
|
Loading…
Reference in a new issue