[SOLVED] QOpenGLFramebufferObject y inverted.
I have a QOpenGLFramebufferObject that is y inverted.
How do i flip it the right way around
It's for a QSGSimpleTextureNode
Maybe I change something here?
QRectF(0, 0, m_size.width(), m_size.height()),
QRectF(0, 0, 1, 1));
It's easy for QQuickPaintedItem but not so much for the native rendering method.
I set the scale in qml to -1 and that flipped it but that flips the x value as well :/
I've solved this one guys I just changed the rect above to 1 and -1.
Just like in qquickitem.cpp painted items