In the name of Allah(God)
Hello
I compiled the program on the following link:
code.bsd64.org/browse/openbsd/HEAD/xenocara/dist/Mesa/progs/xdemos/sharedtex_mt.c
It compiled properly but when I run the program, I recieved a run time error "Segmentation fault". I knew that the glXMakeCurrent function works properly and when the program wants to run fist GL function after glXMakeCurrent function makes run time error.
I also knew if we write this program without threading, the program will work properly.
Please, help me how to solve this problem
Thanks in advance
Hamed