Add some extensions needed for presentation

This commit is contained in:
Bill Currie 2019-07-07 16:27:55 +09:00
parent a755e50c84
commit 7137d61c36
2 changed files with 3 additions and 1 deletions

View file

@ -1,7 +1,7 @@
AUTOMAKE_OPTIONS= foreign AUTOMAKE_OPTIONS= foreign
AM_CFLAGS= @PREFER_PIC@ AM_CFLAGS= @PREFER_PIC@
AM_CPPFLAGS= -I$(top_srcdir)/include -DVK_NO_PROTOTYPES AM_CPPFLAGS= -I$(top_srcdir)/include -DVK_NO_PROTOTYPES -DVK_USE_PLATFORM_XLIB_KHR
vulkan_src = \ vulkan_src = \
init.c \ init.c \

View file

@ -104,6 +104,8 @@ Vulkan_Init_Cvars ()
} }
static const char *instance_extensions[] = { static const char *instance_extensions[] = {
VK_KHR_SURFACE_EXTENSION_NAME,
VK_KHR_XLIB_SURFACE_EXTENSION_NAME,
0, 0,
}; };