mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
xrt: Make vkGetInstanceProcAddr prototype available.
This commit is contained in:
parent
0df4dc2be1
commit
5592ed28da
|
@ -11,3 +11,9 @@
|
||||||
|
|
||||||
#define VK_NO_PROTOTYPES
|
#define VK_NO_PROTOTYPES
|
||||||
#include <vulkan/vulkan.h>
|
#include <vulkan/vulkan.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
#endif
|
||||||
|
VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL
|
||||||
|
vkGetInstanceProcAddr(VkInstance instance, const char *pName);
|
||||||
|
|
|
@ -19,10 +19,6 @@
|
||||||
#include "oxr_two_call.h"
|
#include "oxr_two_call.h"
|
||||||
#include "oxr_handle.h"
|
#include "oxr_handle.h"
|
||||||
|
|
||||||
|
|
||||||
VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL
|
|
||||||
vkGetInstanceProcAddr(VkInstance instance, const char *pName);
|
|
||||||
|
|
||||||
XrResult
|
XrResult
|
||||||
oxr_session_populate_vk(struct oxr_logger *log,
|
oxr_session_populate_vk(struct oxr_logger *log,
|
||||||
struct oxr_system *sys,
|
struct oxr_system *sys,
|
||||||
|
|
Loading…
Reference in a new issue