mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d: Use VK_KHR_*_EXTENSION_NAME defines.
This commit is contained in:
parent
fa5b972371
commit
e42a9da943
@ -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;
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user