[PyQt] Expose QOpenGLContext::getProcAddress?
Phil Thompson
phil at riverbankcomputing.com
Fri Apr 12 21:55:25 BST 2019
On 12 Apr 2019, at 10:49 pm, Georg Brandl <g.brandl at fz-juelich.de> wrote:
>
> Hi,
>
> for integrating a PyQt application with OpenGL drawing in an
> extension module written in another language, it would be useful
> to have this method exposed in the QOpenGLContext class.
>
> It is already exposed in the legacy QGLContext class, and I can
> use that for now, but from the docs it sounds like the QGL classes
> should not be used anymore.
Just because it is exposed doesn't mean it is useful. As I understand it it returns the address of a C function wrapped as a sip.voidptr. Is that useful?
If not I'm happy to discuss further - but I'm no OpenGL expert.
Phil
More information about the PyQt
mailing list