MCPcopy Create free account
hub / github.com/LibreVR/Revive / ovr_Destroy

Function ovr_Destroy

Revive/REV_CAPI.cpp:258–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258OVR_PUBLIC_FUNCTION(void) ovr_Destroy(ovrSession session)
259{
260 REV_TRACE(ovr_Destroy);
261
262 // Delete the session from the list of sessions
263 g_Sessions.erase(std::find_if(g_Sessions.begin(), g_Sessions.end(), [session](ovrHmdStruct const& o) { return &o == session; }));
264}
265
266typedef struct ovrSessionStatus1_ {
267 ovrBool IsVisible;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected