MCPcopy Create free account
hub / github.com/LibreVR/Revive / ovr_GetLastErrorInfo

Function ovr_GetLastErrorInfo

ReviveXR/REV_CAPI.cpp:102–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102OVR_PUBLIC_FUNCTION(void) ovr_GetLastErrorInfo(ovrErrorInfo* errorInfo)
103{
104 REV_TRACE(ovr_GetLastErrorInfo);
105
106 if (!errorInfo)
107 return;
108
109 xrResultToString(g_Instance, g_LastResult, errorInfo->ErrorString);
110 errorInfo->Result = ResultToOvrResult(g_LastResult);
111}
112
113OVR_PUBLIC_FUNCTION(const char*) ovr_GetVersionString()
114{

Callers

nothing calls this directly

Calls 1

ResultToOvrResultFunction · 0.85

Tested by

no test coverage detected