Commit 1f51692f authored by Ronan Abhamon's avatar Ronan Abhamon

fix(src/components/camera/Camera): fbo is now y-mirrored [Switch submodule branch]

parent 7e48e81c
...@@ -77,6 +77,9 @@ Camera::Camera (QQuickItem *parent) : QQuickFramebufferObject(parent) { ...@@ -77,6 +77,9 @@ Camera::Camera (QQuickItem *parent) : QQuickFramebufferObject(parent) {
setAcceptHoverEvents(true); setAcceptHoverEvents(true);
setAcceptedMouseButtons(Qt::LeftButton | Qt::RightButton); 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(); m_context_info = new ContextInfo();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment