cginternals / gloperate

C++ library for defining and controlling modern GPU rendering/processing operations.
MIT License
43 stars 26 forks source link

Remove dependency on deprecated QtOpenGL module #414

Open j-o opened 6 years ago

j-o commented 6 years ago

From http://doc.qt.io/qt-5/qglwidget.html:

This class is obsolete. It is provided to keep old source code working.
We strongly advise against using it in new code.

It is only need for QGLWidget::convertToGLFormat, which boils down to a vertical mirror and channel flipping from BGRA to RGBA.

sbusch42 commented 6 years ago

Sure, if someone likes to provide an implementation for that, so that we can remove this dependency, please go ahead :)