Two managed c++ OpenGL viewers on the same windows form c#, it is possible ?
Based on the test application provided on the article:"Creating an OpenGL view on a Windows Form" , I get two black frames when I duplicate the two opengl objects. It looks like resources are shared between the two frames.
I have modified the constructor to be able to specify x and y positions.
I have also used these x, y values to ReSizeGLScene.
Do you think it is possible? How is wglMakeCurrent behaving in this case ?
My wish would be to have two animation viewers on the same form to render different objects.
Thank you very much in advance.
MiQi
What I have tried:
I have modified the constructor to be able to specify x and y positions.
I have also used these x, y values to ReSizeGLScene.
The effect is like that:
issue-8172-19062019-A.gif