Returns the symbol version of an HMD error. */
| 319 | |
| 320 | /** Returns the symbol version of an HMD error. */ |
| 321 | const char *VR_GetVRInitErrorAsSymbol( EVRInitError error ) |
| 322 | { |
| 323 | std::lock_guard<std::recursive_mutex> lock( g_mutexSystem ); |
| 324 | |
| 325 | if( g_pHmdSystem ) |
| 326 | return g_pHmdSystem->GetIDForVRInitError( error ); |
| 327 | else |
| 328 | return GetIDForVRInitError( error ); |
| 329 | } |
| 330 | |
| 331 | |
| 332 | /** Returns the english string version of an HMD error. */ |
no test coverage detected