aboutsummaryrefslogtreecommitdiff
path: root/Source/NVIDIAGfeSDK/Private/FNVIDIAGfeSDK.cpp
diff options
context:
space:
mode:
authorMonster <[email protected]>2018-05-11 03:52:13 +0300
committerbrong <[email protected]>2018-05-18 15:01:58 +0800
commitc6eae963a3756c774e3b51b24ef23e88e2b2f497 (patch)
tree3fdbd903000e9efb0faa00b455c45d3e5fa2ffd8 /Source/NVIDIAGfeSDK/Private/FNVIDIAGfeSDK.cpp
parentNo longer find delay loaded GfeSDK.dll from hard-coded directory. (diff)
downloadgfesdk-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.cpp1
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);