Additional OpenGL windows

New Message Reply Date view Thread view Subject view Author view

Morten Eriksen (Morten.Eriksen++at++due.unit.no)
Tue, 5 Nov 1996 21:56:35 +0100 (MET)


Hi,

I'm using one gfx display window for a 2D map in addition to the 3D
Performer window in my application. The 2D map is drawn on an OpenGL
glwMDrawingArea widget. My problem is that I can't seem to find any
functions that let me read the current display and window targets for
the GL calls. When I use:

glXMakeCurrent(XtDisplay(_glMapArea), XtWindow(_glMapArea), glxcontext);

..to set my 2D map as a window, I end up with the 3D Performer
graphics over my drawing area widget because I don't reset the current
context to the one used by Performer. How can I do this?

Any solution to this problem would be very much appreciated.

Morten

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:53 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.