> Ok! So you've got the Display and the Drawable, but where on earth do you
> get the Context??? And how do you know that form->CANVAS->u_vdata is the
> GLXContext???
>
> Well, maybe it's documented in the forms.ps manual but I never saw that,
> so what I did was take a look at gl.c and then if you check the glx_init
> function you can see something like this:
It is documented -- page 207. fl_get_glcanvas_context() will hand you
the context as a reward for your efforts.
Note that fl_activate_glcanvas(), documented on the same page, will
activate the canvas by calling glXMakeCurrent() for you.
It really is in That Friendly Manual.
spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/