include/xrt: Fix Vulkan-related build issue on 32-bit.

This commit is contained in:
Ryan Pavlik 2020-03-02 16:01:06 -06:00 committed by Jakob Bornecrantz
parent 98b1b11604
commit 7d10788232

View file

@ -10,6 +10,7 @@
#pragma once
#include "xrt/xrt_defines.h"
#include "xrt/xrt_compiler.h"
#ifdef __cplusplus
extern "C" {
@ -392,8 +393,13 @@ xrt_compositor_gl(struct xrt_compositor *xc)
*
*/
#ifdef XRT_64_BIT
typedef struct VkImage_T *VkImage;
typedef struct VkDeviceMemory_T *VkDeviceMemory;
#else
typedef uint64_t VkImage;
typedef uint64_t VkDeviceMemory;
#endif
/*!
* Base class for a Vulkan client swapchain.