Re: Expose QOpenGLContext::getProcAddress?
Phil Thompson <[email protected]>
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <[email protected]> |
On 12 Apr 2019, at 10:49 pm, Georg Brandl <[email protected]> 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 _______________________________________________ PyQt mailing list [email protected] https://www.riverbankcomputing.com/mailman/listinfo/pyqt