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

Method SharedInstance

ReviveOverlay/openvroverlaycontroller.cpp:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19COpenVROverlayController *s_pSharedVRController = NULL;
20
21COpenVROverlayController *COpenVROverlayController::SharedInstance()
22{
23 if ( !s_pSharedVRController )
24 {
25 s_pSharedVRController = new COpenVROverlayController();
26 }
27 return s_pSharedVRController;
28}
29
30
31//-----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected