-
problem with QT-openGL-display list
Dear all,
I have to create an application in c++ with more classes.
In one class I create a GLuint list with glNewList(list,1).
Can I call glCallList(list) in another class?
thank you
-
Junior Member
Regular Contributor
Re: problem with QT-openGL-display list
So long as the active context is the one with the desired display list, that should work fine. If you are drawing in a different context, then you need to pass one context to the other when you create the second one for them to share listls and textures. Check out the Qt docs for QGLContext.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules