----------------------------------------------------------------------------- Purpose: -----------------------------------------------------------------------------
| 533 | // Purpose: |
| 534 | //----------------------------------------------------------------------------- |
| 535 | void COpenVROverlayController::UpdateThumbnail() |
| 536 | { |
| 537 | uintptr_t unThumbnail = m_pThumbnailTexture->textureId(); |
| 538 | if( vr::VROverlay() && unThumbnail != 0 ) |
| 539 | { |
| 540 | vr::Texture_t thumbnail = {(void*)unThumbnail, vr::TextureType_OpenGL, vr::ColorSpace_Auto }; |
| 541 | vr::VROverlay()->SetOverlayTexture( m_ulOverlayThumbnailHandle, &thumbnail ); |
| 542 | } |
| 543 | } |
nothing calls this directly
no outgoing calls
no test coverage detected