Sharon Fischler (srf++at++rose)
Sun, 9 Jan 1994 18:49:11 -0800
Are you sure that you get this error from GLXlink or did it come from
code initializing the GL window?
Anyway, you do want to be sure to call pfInitGLXGfx() instead of
pfInitGfx() since you are doing a GLX window.
Wade can comment on hints for adapting his code.
However, Performer does support running a program under GLX.
There are a couple of sample programs that demonstrate this in
/usr/src/Performer/src/pguide/libpf/progs
complex-glx.c - a most minimal roll-your-own glx example
utilui.c - uses utilities in libpfutil for setting up
a GLX window and also for doing X input handling
asynchronously in a separate process.
You can also look at /usr/src/Performer/src/lib/libpfutil/xwin.c
to see how we set up GLX windows and call GLXlink.\
Look at the routine pfuGLXCreateWindow().
for even more glx exapmles, you can look in
/usr/people/4Dgifts/examples/GLX/{gl-Xlib,glxwidget}
srf.
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sharon Rose Fischler - Silicon Graphics, Advanced Graphics Development srf++at++sgi.com (415) 390 - 1002 FAX: (415) 965 - 2658 MS 7L-590 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:08 PDT