mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 14:21:57 +00:00
[client] added KVMGFX_HEADER_VERSION define
This commit is contained in:
parent
72b69a6659
commit
34e67b1b57
2 changed files with 3 additions and 2 deletions
|
@ -93,7 +93,7 @@ int renderThread(void * unused)
|
||||||
if (memcmp(state.shm->magic, KVMGFX_HEADER_MAGIC, sizeof(KVMGFX_HEADER_MAGIC)) != 0)
|
if (memcmp(state.shm->magic, KVMGFX_HEADER_MAGIC, sizeof(KVMGFX_HEADER_MAGIC)) != 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (state.shm->version != 2)
|
if (state.shm->version != KVMGFX_HEADER_VERSION)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
bool ready = false;
|
bool ready = false;
|
||||||
|
|
|
@ -20,6 +20,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#define KVMGFX_HEADER_MAGIC "[[KVMGFXHeader]]"
|
#define KVMGFX_HEADER_MAGIC "[[KVMGFXHeader]]"
|
||||||
|
#define KVMGFX_HEADER_VERSION 3
|
||||||
|
|
||||||
typedef enum FrameType
|
typedef enum FrameType
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue