| 148 | } |
| 149 | |
| 150 | OVR_PUBLIC_FUNCTION(void) ovr_GetLastErrorInfo(ovrErrorInfo* errorInfo) |
| 151 | { |
| 152 | REV_TRACE(ovr_GetLastErrorInfo); |
| 153 | |
| 154 | if (!errorInfo) |
| 155 | return; |
| 156 | |
| 157 | const char* error = VR_GetVRInitErrorAsEnglishDescription(g_InitError); |
| 158 | strcpy_s(errorInfo->ErrorString, sizeof(ovrErrorInfo::ErrorString), error); |
| 159 | errorInfo->Result = InitErrorToOvrError(g_InitError); |
| 160 | } |
| 161 | |
| 162 | OVR_PUBLIC_FUNCTION(const char*) ovr_GetVersionString() |
| 163 | { |
nothing calls this directly
no test coverage detected