[client] added KVMGFX_HEADER_VERSION define
This commit is contained in:
1 parent
72b69a6659
commit
34e67b1b57
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -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;
|
||||
|
||||
@@ -19,7 +19,8 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define KVMGFX_HEADER_MAGIC "[[KVMGFXHeader]]"
|
||||
#define KVMGFX_HEADER_MAGIC "[[KVMGFXHeader]]"
|
||||
#define KVMGFX_HEADER_VERSION 3
|
||||
|
||||
typedef enum FrameType
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user