mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-13 01:38:20 +00:00
[client] initialize the local header copy for proper startup
This commit is contained in:
parent
0948dda12f
commit
b6c8136565
@ -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 New Issue
Block a user