I have been working on Nuno Afonso's sample program and have found
that "freeglut" chokes when it tries to run it under Linux. Comparing it
with the "bluepony" demo I find that the significant difference is that the
sample program sets the "glutInitDisplayMode" to "GLUT_SINGLE" while the
"bluepony" demo uses "GLUT_DOUBLE". What happens then is that in
"fgChooseVisual" (freeglut_window.c:175) when the code calls
"glXChooseVisual" with "GLX_DOUBLEBUFFER" (see also line 117) the call
returns a pointer value while without it the call returns null. Since my
knowledge of "glX" is null I would appreciate any help in this matter.
Nuno tells me that the program runs under the CVS version of
"freeglut", but I have not been able to compile the CVS version. (It
requires GLIB, which I don't have.) I have been able to compile and run his
program under GLUT, and GLUT supports the "GLUT_SINGLE" properly.
John F. Fay
"It is a poverty to decide that an unborn child must die in order that you
may live as you like." - Mother Teresa
> Nuno tells me that the program runs under the CVS version of
> "freeglut", but I have not been able to compile the CVS version. (It
no, no, i haven't tried using the CVS version yet... when i can, i'll
try to compile it and then i'll say how the cvs version runs the
Get latest updates about Open Source Projects, Conferences and News.