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

Function ovr_DestroyMirrorTexture

ReviveXR/REV_CAPI.cpp:823–832  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

821}
822
823OVR_PUBLIC_FUNCTION(void) ovr_DestroyMirrorTexture(ovrSession session, ovrMirrorTexture mirrorTexture)
824{
825 REV_TRACE(ovr_DestroyMirrorTexture);
826
827 if (!mirrorTexture)
828 return;
829
830 ovr_DestroyTextureSwapChain(session, mirrorTexture->Dummy);
831 delete mirrorTexture;
832}
833
834OVR_PUBLIC_FUNCTION(ovrSizei) ovr_GetFovTextureSize(ovrSession session, ovrEyeType eye, ovrFovPort fov, float pixelsPerDisplayPixel)
835{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected