Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: OpenGL with X windows

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2000
    Location
    Boulder, CO
    Posts
    10

    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 ?")

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Apr 2000
    Location
    Adelaide, South Australia, Australia
    Posts
    839

    Re: OpenGL with X windows

    you might as well. What's the problem?

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

  3. #3
    Junior Member Newbie
    Join Date
    Aug 2000
    Location
    Boulder, CO
    Posts
    10

    Re: OpenGL with X windows

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •