diff options
| author | Monster <[email protected]> | 2018-05-11 03:52:13 +0300 |
|---|---|---|
| committer | brong <[email protected]> | 2018-05-18 15:01:58 +0800 |
| commit | c6eae963a3756c774e3b51b24ef23e88e2b2f497 (patch) | |
| tree | 3fdbd903000e9efb0faa00b455c45d3e5fa2ffd8 /Source/NVIDIAGfeSDK/Private/FNVIDIAGfeSDK.cpp | |
| parent | No longer find delay loaded GfeSDK.dll from hard-coded directory. (diff) | |
| download | gfesdk-ue4plugin-c6eae963a3756c774e3b51b24ef23e88e2b2f497.tar.xz gfesdk-ue4plugin-c6eae963a3756c774e3b51b24ef23e88e2b2f497.zip | |
Fixed errors related to new struct fields in the new SDK version
Diffstat (limited to 'Source/NVIDIAGfeSDK/Private/FNVIDIAGfeSDK.cpp')
| -rw-r--r-- | Source/NVIDIAGfeSDK/Private/FNVIDIAGfeSDK.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/NVIDIAGfeSDK/Private/FNVIDIAGfeSDK.cpp b/Source/NVIDIAGfeSDK/Private/FNVIDIAGfeSDK.cpp index ff880a2..faafa47 100644 --- a/Source/NVIDIAGfeSDK/Private/FNVIDIAGfeSDK.cpp +++ b/Source/NVIDIAGfeSDK/Private/FNVIDIAGfeSDK.cpp @@ -155,6 +155,7 @@ EGfeSDKReturnCode FNVIDIAGfeSDK::Create(FGfeSDKCreateInputParams const& InputPar GfeSDK::NVGSDK_HANDLE* Handle = nullptr;
GfeSDK::NVGSDK_CreateInputParams InputParamsCreate;
+ memset(&InputParamsCreate, 0, sizeof(InputParamsCreate));
GfeSDK::NVGSDK_CreateResponse OutputParamsCreate;
std::string appNameUTF = TCHAR_TO_UTF8(*InputParams.AppName);
|