| 109 | } |
| 110 | |
| 111 | OVR_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 | } |
nothing calls this directly
no test coverage detected