libs/vkd3d: Use VK_KHR_*_EXTENSION_NAME defines.

This commit is contained in:
Józef Kucia 2016-10-24 15:28:08 +02:00
parent fa5b972371
commit e42a9da943
2 changed files with 4 additions and 3 deletions

View File

@ -26,8 +26,8 @@ static HRESULT vkd3d_instance_init(struct vkd3d_instance *instance)
{ {
static const char * const extensions[] = static const char * const extensions[] =
{ {
"VK_KHR_surface", VK_KHR_SURFACE_EXTENSION_NAME,
"VK_KHR_xcb_surface", VK_KHR_XCB_SURFACE_EXTENSION_NAME,
}; };
VkApplicationInfo application_info; VkApplicationInfo application_info;
@ -359,7 +359,7 @@ static HRESULT vkd3d_create_vk_device(struct d3d12_device *device)
{ {
static const char * const extensions[] = static const char * const extensions[] =
{ {
"VK_KHR_swapchain", VK_KHR_SWAPCHAIN_EXTENSION_NAME,
}; };
const struct vkd3d_vk_instance_procs *vk_procs = &device->vkd3d_instance.vk_procs; const struct vkd3d_vk_instance_procs *vk_procs = &device->vkd3d_instance.vk_procs;

View File

@ -24,6 +24,7 @@
#define __VKD3D_PRIVATE_H #define __VKD3D_PRIVATE_H
#define VK_NO_PROTOTYPES #define VK_NO_PROTOTYPES
#define VK_USE_PLATFORM_XCB_KHR
#define COBJMACROS #define COBJMACROS
#define NONAMELESSUNION #define NONAMELESSUNION