[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

@ -110,23 +110,15 @@ static void dxgi_initOptions()
.module = "dxgi", .module = "dxgi",
.name = "adapter", .name = "adapter",
.description = "The name of the adapter to capture", .description = "The name of the adapter to capture",
.value = {
.type = OPTION_TYPE_STRING, .type = OPTION_TYPE_STRING,
.v.x_string = NULL .value.x_string = NULL
},
.validator = NULL,
.printHelp = NULL
}, },
{ {
.module = "dxgi", .module = "dxgi",
.name = "output", .name = "output",
.description = "The name of the adapter's output to capture", .description = "The name of the adapter's output to capture",
.value = {
.type = OPTION_TYPE_STRING, .type = OPTION_TYPE_STRING,
.v.x_string = NULL .value.x_string = NULL
},
.validator = NULL,
.printHelp = NULL
}, },
{0} {0}
}; };