Skip to content

Commit

Permalink
- Add VK_KHR_DISPLAY_EXTENSION_NAME return to GetWsiExtensionName (#1412
Browse files Browse the repository at this point in the history
)

when VK_USE_PLATFORM_DISPLAY_KHR is defined.

Co-authored-by: bradgrantham-lunarg <[email protected]>
  • Loading branch information
mporth-brcm and bradgrantham-lunarg authored Oct 10, 2024
1 parent b4904b2 commit 1f31f7b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/tool_settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,12 @@ static std::string GetWsiExtensionName(WsiPlatform wsi_platform)
{
return VK_EXT_HEADLESS_SURFACE_EXTENSION_NAME;
}
#endif
#if defined(VK_USE_PLATFORM_DISPLAY_KHR)
case WsiPlatform::kDisplay:
{
return VK_KHR_DISPLAY_EXTENSION_NAME;
}
#endif
default:
{
Expand Down

0 comments on commit 1f31f7b

Please sign in to comment.