I fail miserably to write a direct rendering program. I think DRI is
properly installed on my system, at least glxgears confirms Direct
rendering: Yes. My program initializes all kind of things but when it
comes to make something current I get probably confused between all
contexts and windows/drawables.
Is there anywhere a tutorial that tells me how to write a DRI client
program (not how to compile and install DRI) or a very simple program
that I could have a look at.
Appreciate any pointers.