File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ void COpenVROverlayController::OnSceneChanged()
241241QOpenGLFramebufferObject::bindDefault ();
242242
243243m_pOpenGLContext->functions ()->glFlush ();
244- GLuint unTexture = m_pFbo->texture ();
244+ uintptr_t unTexture = m_pFbo->texture ();
245245if ( vr::VROverlay () && unTexture != 0 )
246246{
247247vr::Texture_t texture = {(void *)unTexture, vr::TextureType_OpenGL, vr::ColorSpace_Auto };
@@ -544,7 +544,7 @@ vr::HmdError COpenVROverlayController::GetLastHmdError()
544544// -----------------------------------------------------------------------------
545545void COpenVROverlayController::UpdateThumbnail ()
546546{
547- GLuint unThumbnail = m_pThumbnailTexture->textureId ();
547+ uintptr_t unThumbnail = m_pThumbnailTexture->textureId ();
548548if ( vr::VROverlay () && unThumbnail != 0 )
549549{
550550vr::Texture_t thumbnail = {(void *)unThumbnail, vr::TextureType_OpenGL, vr::ColorSpace_Auto };
You can’t perform that action at this time.
0 commit comments