First development release - WIP
This commit is contained in:
25
src/instance.h
Normal file
25
src/instance.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef LINUX_VR_COMPOSITOR_STATE_H
|
||||
#define LINUX_VR_COMPOSITOR_STATE_H
|
||||
|
||||
#include <openhmd.h>
|
||||
|
||||
#ifdef ENABLE_XCB
|
||||
# include <xcb/xcb.h>
|
||||
#endif // ENABLE_XCB
|
||||
|
||||
#include "swapChain.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
ohmd_device * device;
|
||||
|
||||
#ifdef ENABLE_XCB
|
||||
xcb_connection_t * connection;
|
||||
int screen;
|
||||
#endif // ENABLE_XCB
|
||||
|
||||
SwapChain * swapChain;
|
||||
|
||||
} Instance;
|
||||
|
||||
#endif // LINUX_VR_COMPOSITOR_STATE_H
|
||||
Reference in New Issue
Block a user