mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-02-12 23:40:28 +00:00
[host] nvfbc: read nvfbc:diffRes option with the correct type
This commit is contained in:
parent
e5d252290d
commit
10ee6cd031
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ static bool nvfbc_init(void)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
int diffRes = option_get_bool("nvfbc", "diffRes");
|
int diffRes = option_get_int("nvfbc", "diffRes");
|
||||||
enum DiffMapBlockSize blockSize;
|
enum DiffMapBlockSize blockSize;
|
||||||
NvFBCGetDiffMapBlockSize(diffRes, &blockSize, &this->diffShift, privData, privDataLen);
|
NvFBCGetDiffMapBlockSize(diffRes, &blockSize, &this->diffShift, privData, privDataLen);
|
||||||
free(privData);
|
free(privData);
|
||||||
|
|
Loading…
Reference in a new issue