1

I want multiple QGLWidgets to share a single context, I am not able to get this to work after creating a QGLWidget, binding a texture using bindTexture() and create a second QGLWidget with the same format as the first one and using one of the constructors that takes in the first widget as a pointer to the shared widget. It does create a new widget but textures are not shared and when I query using isShared() method I always get a false as a result.

Is there any simple example to tell me if I am doing the right thing!

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Sundar Iyer
  • 59
  • 1
  • 4

0 Answers0