Using Qt 5.12, glDrawBuffer is not found in QOpenGLExtraFunctions, shouldn't this be supported?
-
As per the documentation, "The QOpenGLExtraFunctions class provides cross-platform access to the OpenGL ES 3.0 and 3.1 API." Since glDrawBuffer has been a feature of OpenGL since 2.0, I'd think it would be present.
Does anybody have a workaround? I'm trying to construct a framebuffer without any color attachments, so I need to be able to set the draw buffer to GL_NONE.
-
glDrawBuffer is a core, not a extra functionality afaics: https://doc.qt.io/qt-5.12/qopenglfunctions-3-3-core.html#glDrawBuffer
-
@Christian-Ehrlicher So what does that mean? Just call it directly in Qt without using OpenGLFunctions or a derived class?
-
@feistykittykat said in Using Qt 5.12, glDrawBuffer is not found in QOpenGLExtraFunctions, shouldn't this be supported?:
Just call it directly in Qt without using OpenGLFunctions or a derived class?
No, I gave you the link to the Qt function...