MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Tools / demo_init_xlib_connection

Function demo_init_xlib_connection

cube/cube.c:3737–3743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3735#endif
3736#if defined(VK_USE_PLATFORM_XLIB_KHR)
3737static const char *demo_init_xlib_connection(struct demo *demo) {
3738 demo->xlib_library = initialize_xlib();
3739 if (NULL == demo->xlib_library) {
3740 return "Cannot load XLIB dynamic library.";
3741 }
3742 return NULL;
3743}
3744#endif
3745#if defined(VK_USE_PLATFORM_WAYLAND_KHR)
3746static const char *demo_init_wayland_connection(struct demo *demo) {

Callers 1

Calls 1

initialize_xlibFunction · 0.85

Tested by

no test coverage detected