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

Function ovr_GetMirrorTextureBufferGL

ReviveXR/REV_CAPI_GL.cpp:111–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetMirrorTextureBufferGL(ovrSession session,
112 ovrMirrorTexture mirrorTexture,
113 unsigned int* out_TexId)
114{
115 REV_TRACE(ovr_GetMirrorTextureBufferGL);
116
117 if (!session)
118 return ovrError_InvalidSession;
119
120 if (!mirrorTexture || !out_TexId)
121 return ovrError_InvalidParameter;
122
123 return ovr_GetTextureSwapChainBufferGL(session, mirrorTexture->Dummy, 0, out_TexId);
124}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected