| 294 | } |
| 295 | |
| 296 | OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetMirrorTextureBufferDX(ovrSession session, |
| 297 | ovrMirrorTexture mirrorTexture, |
| 298 | IID iid, |
| 299 | void** out_Buffer) |
| 300 | { |
| 301 | REV_TRACE(ovr_GetMirrorTextureBufferDX); |
| 302 | |
| 303 | if (!session) |
| 304 | return ovrError_InvalidSession; |
| 305 | |
| 306 | if (!mirrorTexture || !out_Buffer) |
| 307 | return ovrError_InvalidParameter; |
| 308 | |
| 309 | return ovr_GetTextureSwapChainBufferDX(session, mirrorTexture->Dummy, 0, iid, out_Buffer); |
| 310 | } |
nothing calls this directly
no test coverage detected