Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/Backends/WaylandBackend.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#define VK_USE_PLATFORM_WAYLAND_KHR

#include "backend.h"
#include "rendervulkan.hpp"
#include "wlserver.hpp"
Expand Down Expand Up @@ -2117,7 +2119,8 @@ namespace gamescope

std::span<const char *const> CWaylandBackend::GetInstanceExtensions() const
{
return std::span<const char *const>{};
static const std::array pszInstanceExtensions {VK_KHR_SURFACE_EXTENSION_NAME, VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME};
return std::span<const char *const>{pszInstanceExtensions.begin(), pszInstanceExtensions.end()};
}

std::span<const char *const> CWaylandBackend::GetDeviceExtensions( VkPhysicalDevice pVkPhysicalDevice ) const
Expand Down