[client] initialize the local header copy for proper startup
This commit is contained in:
1 parent
0948dda12f
commit
b6c8136565
1 file changed
+2
@@ -147,6 +147,8 @@ int renderThread(void * unused)
|
||||
struct KVMFRHeader header;
|
||||
volatile uint32_t * updateCount = &state.shm->updateCount;
|
||||
|
||||
memset(&header, 0, sizeof(struct KVMFRHeader));
|
||||
|
||||
while(state.running)
|
||||
{
|
||||
// poll until we have a new frame, or we time out
|
||||
|
||||
Reference in new issue
Block a user