Having trouble manipulating multiple GL views. I have tabbed views, all GL enabled. They render fine. Its when i hide and then show the tabs that the rendering disappears. For example, i click a button that shows some of the tabs and hides others. Then when i attempt to go back, my view no longer contains the scene it once did. I did not destroy and recreate it…only hid it.
I thought it had something to do with the current context, however ive played with it and had no luck . Using MFC BTW. In each of the view classes OnPaint, before i render i make my context current:
If anyone has ideas or suggestions for me to try out, id appreciate it.
For rendering in multiple views, can someone simply explain the correct sequence of events to go through in creating/destroying a context.