mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 23:07:18 +00:00
[client] added KVMGFX_HEADER_VERSION define
This commit is contained in:
parent
72b69a6659
commit
34e67b1b57
@ -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 New Issue
Block a user