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

This commit is contained in:
Ronan Abhamon 2017-02-01 11:22:09 +01:00
parent 7e48e81c70
commit 1f51692f4c

View file

@ -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();
}