| 172 | |
| 173 | |
| 174 | void *VR_GetGenericInterface(const char *pchInterfaceVersion, EVRInitError *peError) |
| 175 | { |
| 176 | std::lock_guard<std::recursive_mutex> lock( g_mutexSystem ); |
| 177 | |
| 178 | if (!g_pHmdSystem) |
| 179 | { |
| 180 | if (peError) |
| 181 | *peError = vr::VRInitError_Init_NotInitialized; |
| 182 | return NULL; |
| 183 | } |
| 184 | |
| 185 | return g_pHmdSystem->GetGenericInterface(pchInterfaceVersion, peError); |
| 186 | } |
| 187 | |
| 188 | bool VR_IsInterfaceVersionValid(const char *pchInterfaceVersion) |
| 189 | { |
no test coverage detected