[c-host] dxgi: initialize option to NULL for consistancy

This commit is contained in:
Geoffrey McRae 2019-05-09 22:51:12 +10:00
parent 83f63f4c42
commit 558ae5dc45
3 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
a12-165-g247e92937c+1 a12-166-g83f63f4c42+1

View File

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

View File

@ -128,6 +128,7 @@ static bool nvfbc_create()
static bool nvfbc_init(void * pointerShape, const unsigned int pointerSize) static bool nvfbc_init(void * pointerShape, const unsigned int pointerSize)
{ {
return false;
this->stop = false; this->stop = false;
this->pointerShape = pointerShape; this->pointerShape = pointerShape;
this->pointerSize = pointerSize; this->pointerSize = pointerSize;