-
overlay QGLContext
Hi, all
I initilized the main opengl context with QGLWidget. I want to create another context in the main context.
Does anybody can give some code examples or useful URL to teach me using "makeOverlayCurrent(), updateOverlayGL(), initializeOverlayGL(), paintOverlayGL(), etc."
Thanks for any replay!
-
Re: overlay QGLContext
Did you ever figure this out? I've made functions for paintOverlayGL, initializeOverlayGL, etc. And tested to make sure hasOpenGLOverlays is true and did setOverlay true, but still none of the overlay functions get called.
I have yet to find an example for this with Qt4
thanks.
-
Re: overlay QGLContext
Support vo Opengl overlay context depends on the drivers and platform.
-
Re: overlay QGLContext
Yes, but there is an boolean attribute that tells whether the current system supports overlays and it said true on my MacBook Pro (intel mac).