[c-host] windows: fix dxgi option struct syntax

This commit is contained in:
Geoffrey McRae 2019-05-17 09:27:04 +10:00
parent 0ba931cbed
commit cc6dd58778
2 changed files with 11 additions and 19 deletions

View File

@ -1 +1 @@
a12-188-ga7daeb2a12+1
a12-189-g0ba931cbed+1

View File

@ -107,26 +107,18 @@ static void dxgi_initOptions()
struct Option options[] =
{
{
.module = "dxgi",
.name = "adapter",
.description = "The name of the adapter to capture",
.value = {
.type = OPTION_TYPE_STRING,
.v.x_string = NULL
},
.validator = NULL,
.printHelp = NULL
.module = "dxgi",
.name = "adapter",
.description = "The name of the adapter to capture",
.type = OPTION_TYPE_STRING,
.value.x_string = NULL
},
{
.module = "dxgi",
.name = "output",
.description = "The name of the adapter's output to capture",
.value = {
.type = OPTION_TYPE_STRING,
.v.x_string = NULL
},
.validator = NULL,
.printHelp = NULL
.module = "dxgi",
.name = "output",
.description = "The name of the adapter's output to capture",
.type = OPTION_TYPE_STRING,
.value.x_string = NULL
},
{0}
};