MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / VR_GetVRInitErrorAsSymbol

Function VR_GetVRInitErrorAsSymbol

src/openvr_api_public.cpp:321–329  ·  view source on GitHub ↗

Returns the symbol version of an HMD error. */

Source from the content-addressed store, hash-verified

319
320/** Returns the symbol version of an HMD error. */
321const 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. */

Callers 1

InitOpenVRMethod · 0.85

Calls 1

GetIDForVRInitErrorFunction · 0.85

Tested by

no test coverage detected