Files
UnrealEngineUWP/Engine/Plugins/Runtime/Nvidia
bernard lambert 8477528ca5 Updating functions that call GfnFree to only do so when the memory-allocated SDK function (that requires a GfnFree call to free memory afterwards) returns GfnRuntimeError::gfnSuccess, so as to avoid crashes.
According to the GfnFree documentaiton on the official GeForceNOW-SDK github repo:

"Use to release memory after a call to a memory-allocated function and you are finished with the data.
Should only be called if the memory is populated with valid data. Calling gfnFree with invalid pointer or data will result in an memory exception being thrown."

#rnx
#RB [at]Fourat.Jellouli [at]Mic.Rooney

[CL 27374021 by bernard lambert in ue5-main branch]
2023-08-25 07:49:05 -04:00
..