xrt: Slightly more correct Display typedef

Closes #49
This commit is contained in:
Jakob Bornecrantz 2020-02-24 16:57:46 +00:00
parent 0fac7d2a66
commit a228c3efff
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ extern "C" {
#endif #endif
typedef void *Display; typedef struct _XDisplay Display;
typedef void *GLXFBConfig; typedef void *GLXFBConfig;
typedef void *GLXDrawable; typedef void *GLXDrawable;
typedef void *GLXContext; typedef void *GLXContext;

View file

@ -14,7 +14,7 @@
#define XR_USE_TIMESPEC 1 #define XR_USE_TIMESPEC 1
#ifdef XR_USE_PLATFORM_XLIB #ifdef XR_USE_PLATFORM_XLIB
typedef void *Display; typedef struct _XDisplay Display;
typedef void *GLXFBConfig; typedef void *GLXFBConfig;
typedef void *GLXDrawable; typedef void *GLXDrawable;
typedef void *GLXContext; typedef void *GLXContext;