OpenGL with X windows

Does anybody knows if this is the right forum to post questions on how to merge Opengl with Xwindows ?

Vanleurth (“What is the matrix ?”)

you might as well. What’s the problem?

cheers,
John (“the matrix is damned cool. But it’s just a 2D set of numbers =)”)

I don’t know what is wrong with glxPixmap it does work to render an image in the background.

This is what I do;

  1. Create pixmap
  2. Create GLXPixmap
  3. Bind Context
  4. MakeCurrent

I’m getting a full black image if I use the GLXPixmap drawable but if I use a window everything works just fine.

Vanleurth