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

Function VR_GetVRInitErrorAsEnglishDescription

src/openvr_api_public.cpp:333–341  ·  view source on GitHub ↗

Returns the english string version of an HMD error. */

Source from the content-addressed store, hash-verified

331
332/** Returns the english string version of an HMD error. */
333const char *VR_GetVRInitErrorAsEnglishDescription( EVRInitError error )
334{
335 std::lock_guard<std::recursive_mutex> lock( g_mutexSystem );
336
337 if ( g_pHmdSystem )
338 return g_pHmdSystem->GetEnglishStringForHmdError( error );
339 else
340 return GetEnglishStringForHmdError( error );
341}
342
343
344VR_INTERFACE const char *VR_CALLTYPE VR_GetStringForHmdError( vr::EVRInitError error );

Callers 5

BInitMethod · 0.85
BInitMethod · 0.85
BInitMethod · 0.85
BInitMethod · 0.85
VR_GetStringForHmdErrorFunction · 0.85

Calls 1

Tested by

no test coverage detected