[client] added KVMGFX_HEADER_VERSION define

This commit is contained in:
Geoffrey McRae committed 2017-12-12 03:59:55 +11:00
1 parent 72b69a6659
commit 34e67b1b57
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -93,7 +93,7 @@ int renderThread(void * unused)
if (memcmp(state.shm->magic, KVMGFX_HEADER_MAGIC, sizeof(KVMGFX_HEADER_MAGIC)) != 0)
continue;
if (state.shm->version != 2)
if (state.shm->version != KVMGFX_HEADER_VERSION)
continue;
bool ready = false;