[client] initialize the local header copy for proper startup

This commit is contained in:
Geoffrey McRae committed 2017-12-15 12:02:37 +11:00
1 parent 0948dda12f
commit b6c8136565
1 file changed
+2
+2
View File
@@ -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