When creating BrainOpenGLWidget, use an OpenGL sharing context so that all...
When creating BrainOpenGLWidget, use an OpenGL sharing context so that all windows use the same OpenGL buffer objects. Otherwise, it would be very difficult to create/destroy buffer objects for each window. In addition, fixed crash if the user attempted to create more than 10 windows.
parent
1ba8c318
Please register or sign in to comment