I am trying to implement multiple windows in multiple threads using openGL.
I am creating one openGL window in each thread using glutCreateWindow(). And in final thread I am launching glutMainLoop().While running application frequently I am facing one of the following error:
X Error of failed request: GLXBadContextTag
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 101
Current serial number in output stream: 103
Xlib: unexpected async reply (sequence 0x67)!
Please help me for how to solve this problem. Or any other way to implement this concept?
Thanks & Regards,