mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-21 20:27:05 +02:00
exclude more stuff from vulkan
This commit is contained in:
parent
ca6fa64c8a
commit
e7ecea2ac4
2 changed files with 4 additions and 0 deletions
|
|
@ -59,6 +59,8 @@ namespace {
|
||||||
case Core::Frontend::WindowSystemType::Xcb:
|
case Core::Frontend::WindowSystemType::Xcb:
|
||||||
extensions.push_back(VK_KHR_XCB_SURFACE_EXTENSION_NAME);
|
extensions.push_back(VK_KHR_XCB_SURFACE_EXTENSION_NAME);
|
||||||
break;
|
break;
|
||||||
|
#elif defined(__OPENORBIS__)
|
||||||
|
// No vulkan
|
||||||
#else
|
#else
|
||||||
case Core::Frontend::WindowSystemType::X11:
|
case Core::Frontend::WindowSystemType::X11:
|
||||||
extensions.push_back(VK_KHR_XLIB_SURFACE_EXTENSION_NAME);
|
extensions.push_back(VK_KHR_XLIB_SURFACE_EXTENSION_NAME);
|
||||||
|
|
|
||||||
|
|
@ -76,6 +76,8 @@ vk::SurfaceKHR CreateSurface(
|
||||||
throw vk::Exception(VK_ERROR_INITIALIZATION_FAILED);
|
throw vk::Exception(VK_ERROR_INITIALIZATION_FAILED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#elif defined(__OPENORBIS__)
|
||||||
|
// No native
|
||||||
#else
|
#else
|
||||||
if (window_info.type == Core::Frontend::WindowSystemType::X11) {
|
if (window_info.type == Core::Frontend::WindowSystemType::X11) {
|
||||||
const VkXlibSurfaceCreateInfoKHR xlib_ci{
|
const VkXlibSurfaceCreateInfoKHR xlib_ci{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue