Re: XForms: interface between xforms and gl/mesa

Steve Lamont (
Thu, 2 Oct 97 16:52:24 PDT

To subscribers of the xforms list from (Steve Lamont) :

> ... The problem with glcanvas on my
> HP is that the color does not look right. It is either not smooth,
> or sometimes it suddenly turns dark. The lighting is kind of
> weired, too. I guess xform does not really handle colormap
> properly. ...

The glx_init function in the standard gl.c distributed with XForms
does not use the default Colormap but creates its own. This means
that if you're on a PseudoColor display, you're likely to get Colormap
switching, which is exactly what's happening to you. If you use my
hacked gl.c, the default Colormap will get used and you should be in
good shape.


To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: