Created an attachment (id=34244) glxinfo output
glxinfo says "direct rendering: Yes".
Adding this piece of code just after the context is created in the example program:
printf ("Direct: %s\n", (glXIsDirect (dpy, glxcontext) == True) ? "yes" : "no");
Gives output "yes" in both the cases when it does not crash and the cases it does crash.
I have attached the output of glxinfo too.
Created an attachment (id=34244)
glxinfo output
glxinfo says "direct rendering: Yes".
Adding this piece of code just after the context is created in the example program:
printf ("Direct: %s\n", (glXIsDirect (dpy, glxcontext) == True) ? "yes" : "no");
Gives output "yes" in both the cases when it does not crash and the cases it
does crash.
I have attached the output of glxinfo too.