From 1f51692f4c19c8b0c35ae35f02e2518fd977d696 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Wed, 1 Feb 2017 11:22:09 +0100 Subject: [PATCH] fix(src/components/camera/Camera): fbo is now y-mirrored [Switch submodule branch] --- linphone-desktop/src/components/camera/Camera.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/linphone-desktop/src/components/camera/Camera.cpp b/linphone-desktop/src/components/camera/Camera.cpp index 546f752b4..b83c884bd 100644 --- a/linphone-desktop/src/components/camera/Camera.cpp +++ b/linphone-desktop/src/components/camera/Camera.cpp @@ -77,6 +77,9 @@ Camera::Camera (QQuickItem *parent) : QQuickFramebufferObject(parent) { setAcceptHoverEvents(true); setAcceptedMouseButtons(Qt::LeftButton | Qt::RightButton); + // The fbo content must be y-mirrored because the ms rendering is y-inverted. + setMirrorVertically(true); + m_context_info = new ContextInfo(); }