I have a program developed in VB and it contains two picture boxs. With only one OpenGL context to switch between the two picture boxes, the system seems work fine but only slows down as the times goes on. Is there any problem in this use of OpenGL context?
Ok, I found the answer. The OpenGL context can’t be shared between HDCs in different window. It’s certainly a potential bug. The problem can only be discovered after several hours continuous running of the application.
Thanks to everyone.