xrt: Make vkGetInstanceProcAddr prototype available.

This commit is contained in:
Ryan Pavlik 2020-01-09 17:33:45 -06:00 committed by Jakob Bornecrantz
parent 0df4dc2be1
commit 5592ed28da
2 changed files with 6 additions and 4 deletions

View file

@ -11,3 +11,9 @@
#define VK_NO_PROTOTYPES
#include <vulkan/vulkan.h>
#ifdef __cplusplus
extern "C"
#endif
VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL
vkGetInstanceProcAddr(VkInstance instance, const char *pName);

View file

@ -19,10 +19,6 @@
#include "oxr_two_call.h"
#include "oxr_handle.h"
VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL
vkGetInstanceProcAddr(VkInstance instance, const char *pName);
XrResult
oxr_session_populate_vk(struct oxr_logger *log,
struct oxr_system *sys,