Ohhhh .....I verified, HelloGL's using QGLWidget only as you said
I tried according to it and it's finely taking GL contexts from calling function
Thanks for your prompt help, tbscope
@second post:
But in order to draw, say car, I need to paint different sides in car drawing class only (to avoid passing all its vertices to single QGLWidget), so GL context must be available to my BuildingPainter class. So I am using multiple OGLWidgets
Bookmarks