Apply patch from lint error

This commit is contained in:
camdenorrb 2024-12-21 06:22:18 -06:00
parent a49e22e16a
commit de4db4bb0b
1 changed files with 12 additions and 11 deletions

View File

@ -214,26 +214,27 @@ int main(int argc, char* argv[])
parser->add_option("-p", "--platform")
.action("store")
.help("Window platform to use [%choices]")
.choices({"headless"
.choices({
"headless"
#ifdef __linux__
,
"fbdev"
,
"fbdev"
#endif
#if HAVE_DRM
,
"drm"
,
"drm"
#endif
#if HAVE_X11
,
"x11"
,
"x11"
#endif
#ifdef _WIN32
,
"win32"
,
"win32"
#endif
#ifdef __APPLE__
,
"macos"
,
"macos"
#endif
});